foobar2000 SDK
2015-08-03
|
#include <chapterizer.h>
Public Types | |
typedef chapter_list_impl_t< file_info_ > | t_self |
Public Member Functions | |
chapter_list_impl_t () | |
chapter_list_impl_t (const chapter_list &p_source) | |
t_size | get_chapter_count () const |
const file_info & | get_info (t_size p_chapter) const |
file_info_ & | get_info_ (t_size p_chapter) |
double | get_pregap () const |
const t_self & | operator= (const chapter_list &p_source) |
void | set_chapter_count (t_size p_count) |
void | set_info (t_size p_chapter, const file_info &p_info) |
void | set_pregap (double val) |
Public Member Functions inherited from chapter_list | |
void | copy (const chapter_list &p_source) |
const chapter_list & | operator= (const chapter_list &p_source) |
Private Attributes | |
pfc::array_t< file_info_ > | m_infos |
double | m_pregap |
Additional Inherited Members | |
Protected Member Functions inherited from chapter_list | |
chapter_list () | |
~chapter_list () | |
Implements chapter_list.
Definition at line 33 of file chapterizer.h.
typedef chapter_list_impl_t<file_info_> chapter_list_impl_t< file_info_ >::t_self |
Definition at line 36 of file chapterizer.h.
|
inline |
Definition at line 35 of file chapterizer.h.
|
inline |
Definition at line 37 of file chapterizer.h.
|
inlinevirtual |
|
inlinevirtual |
Queries description of specified chapter.
p_chapter | Index of chapter to query, greater or equal zero and less than get_chapter_count() value. If p_chapter value is out of valid range, results are undefined (e.g. crash). |
Implements chapter_list.
Definition at line 42 of file chapterizer.h.
|
inline |
Definition at line 46 of file chapterizer.h.
|
inlinevirtual |
|
inline |
Definition at line 39 of file chapterizer.h.
|
inlinevirtual |
|
inlinevirtual |
Modifies description of specified chapter.
p_chapter_index | Index of chapter to modify, greater or equal zero and less than get_chapter_count() value. If p_chapter value is out of valid range, results are undefined (e.g. crash). |
p_info | New chapter description. Note that length part of file_info is used to calculate chapter marks. |
Implements chapter_list.
Definition at line 45 of file chapterizer.h.
|
inlinevirtual |
|
private |
Definition at line 51 of file chapterizer.h.
|
private |
Definition at line 52 of file chapterizer.h.