DVDBuilder for C++  3.4
DVD Authoring Software Development Kit
TitleEnum Class Referenceabstract

This interface is used to enumerate all DVD-Video titles in a recording. More...

Inheritance diagram for TitleEnum:
Reference

Public Member Functions

virtual int count ()=0
 Gets the number of titles. More...
 
virtual Titleitem (int index)=0
 Gets an object that describes a DVD-Video title. More...
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance. More...
 
virtual int32_t retain () const =0
 Retains the instance. More...
 
virtual int32_t retainCount () const =0
 Returns the current reference count. More...
 

Detailed Description

This interface is used to enumerate all DVD-Video titles in a recording.

An instance of this interface can be obtained via VideoRecorder::titles. When it's not needed anymore the instance must be released.

See also
VideoRecorder::titles
Title
Version
2.0

Member Function Documentation

virtual int count ( )
pure virtual

Gets the number of titles.

Returns
number of titles.
Version
2.0
virtual Title* item ( int  index)
pure virtual

Gets an object that describes a DVD-Video title.

The lifetime of the title object is controlled by the TitleEnum instance.

Parameters
index[in] A zero-based title index.
Returns
A pointer to an Title instance or NULL if the index is invalid.
Version
2.0