PrimoBurner(tm) for C++  5.0
CD, DVD and Blu-ray Software Development Kit
Loading...
Searching...
No Matches
TocTrackEnum Class Referenceabstract

Defines a collection of tracks from the TOC. More...

#include <pb_api.h>

Public Member Functions

virtual TocTrackat (int index) const =0
 Gets the TocTrack object at the specified index.
 
virtual int count () const =0
 Gets the number of objects contained in the enumerator.
 

Detailed Description

Defines a collection of tracks from the TOC.

See also
Toc
TocTrack
Device::readToc

Member Function Documentation

◆ at()

virtual TocTrack * at ( int  index) const
pure virtual

Gets the TocTrack object at the specified index.

Parameters
index[in] The index of the TocTrack object to be returned. Indexing starts from 0.
Returns
A pointer to the TocTrack object specified by index or NULL if the index is invalid.

◆ count()

virtual int count ( ) const
pure virtual

Gets the number of objects contained in the enumerator.

The maximum number of objects is 170.

Returns
The number of elements in the collection (>=0).