chapter_item_c Class Reference

Inheritance diagram for chapter_item_c:

Inheritance graph
[legend]
Collaboration diagram for chapter_item_c:

Collaboration graph
[legend]

Public Member Functions

 chapter_item_c ()
virtual ~chapter_item_c ()
int64_t RefreshChapters (bool b_ordered, int64_t i_prev_user_time)
int PublishChapters (input_title_t &title, int &i_user_chapters, int i_level=0)
virtual chapter_item_cFindTimecode (mtime_t i_timecode, const chapter_item_c *p_current, bool &b_found)
void Append (const chapter_item_c &edition)
chapter_item_cFindChapter (int64_t i_find_uid)
virtual chapter_item_cBrowseCodecPrivate (unsigned int codec_id, bool(*match)(const chapter_codec_cmds_c &data, const void *p_cookie, size_t i_cookie_size), const void *p_cookie, size_t i_cookie_size)
std::string GetCodecName (bool f_for_title=false) const
bool ParentOf (const chapter_item_c &item) const
int16 GetTitleNumber () const
bool Enter (bool b_do_subchapters)
bool Leave (bool b_do_subchapters)
bool EnterAndLeave (chapter_item_c *p_item, bool b_enter=true)

Static Public Member Functions

static bool CompareTimecode (const chapter_item_c *itemA, const chapter_item_c *itemB)

Data Fields

int64_t i_start_time
int64_t i_end_time
int64_t i_user_start_time
int64_t i_user_end_time
std::vector< chapter_item_c * > sub_chapters
int i_seekpoint_num
int64_t i_uid
bool b_display_seekpoint
bool b_user_display
std::string psz_name
chapter_item_cpsz_parent
bool b_is_leaving
std::vector
< chapter_codec_cmds_c * > 
codecs

Constructor & Destructor Documentation

chapter_item_c::chapter_item_c (  )  [inline]

chapter_item_c::~chapter_item_c (  )  [virtual]

References codecs, index, and sub_chapters.


Member Function Documentation

int64_t chapter_item_c::RefreshChapters ( bool  b_ordered,
int64_t  i_prev_user_time 
)

int chapter_item_c::PublishChapters ( input_title_t title,
int &  i_user_chapters,
int  i_level = 0 
)

chapter_item_c * chapter_item_c::FindTimecode ( mtime_t  i_timecode,
const chapter_item_c p_current,
bool &  b_found 
) [virtual]

void chapter_item_c::Append ( const chapter_item_c edition  ) 

chapter_item_c * chapter_item_c::FindChapter ( int64_t  i_find_uid  ) 

References i, i_uid, and sub_chapters.

Referenced by Append().

chapter_item_c * chapter_item_c::BrowseCodecPrivate ( unsigned int  codec_id,
bool(*)(const chapter_codec_cmds_c &data, const void *p_cookie, size_t i_cookie_size)  match,
const void *  p_cookie,
size_t  i_cookie_size 
) [virtual]

std::string chapter_item_c::GetCodecName ( bool  f_for_title = false  )  const

References codecs, and index.

Referenced by PublishChapters().

bool chapter_item_c::ParentOf ( const chapter_item_c item  )  const

References index, and sub_chapters.

Referenced by EnterAndLeave().

int16 chapter_item_c::GetTitleNumber (  )  const

References codecs, and index.

Referenced by dvd_command_interpretor_c::Interpret().

static bool chapter_item_c::CompareTimecode ( const chapter_item_c itemA,
const chapter_item_c itemB 
) [inline, static]

References i_user_end_time, and i_user_start_time.

Referenced by RefreshChapters().

bool chapter_item_c::Enter ( bool  b_do_subchapters  ) 

bool chapter_item_c::Leave ( bool  b_do_subchapters  ) 

References b_is_leaving, codecs, index, and sub_chapters.

Referenced by EnterAndLeave().

bool chapter_item_c::EnterAndLeave ( chapter_item_c p_item,
bool  b_enter = true 
)


Field Documentation

Referenced by EnterAndLeave(), and Leave().


The documentation for this class was generated from the following files:

Generated on Tue May 25 08:05:50 2010 for VLC by  doxygen 1.5.6