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

Table Of Content (TOC) More...

#include <pb_api.h>

Inherits Reference.

Public Member Functions

virtual uint8_t firstTrack () const =0
 Gets the first track number in the first complete session Table of Contents.
 
virtual uint8_t lastTrack () const =0
 Gets the last track number in the last complete session Table of Contents before the Lead-out.
 
virtual TocTrackEnumtracks () const =0
 Gets a TocTrack enumerator containing information for each track that is on the CD.
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance.
 
virtual int32_t retain () const =0
 Retains the instance.
 
virtual int32_t retainCount () const =0
 Returns the current reference count.
 

Detailed Description

Table Of Content (TOC)

See also
TocTrack
Device::readToc

Member Function Documentation

◆ firstTrack()

virtual uint8_t firstTrack ( ) const
pure virtual

Gets the first track number in the first complete session Table of Contents.

Returns
track number

◆ lastTrack()

virtual uint8_t lastTrack ( ) const
pure virtual

Gets the last track number in the last complete session Table of Contents before the Lead-out.

The tracks method returns lastTrack() - firstTrack() + 2 entries. The last element in the tracks() collection is the entry for the lead-out area of session.

Returns
track number

◆ tracks()

virtual TocTrackEnum * tracks ( ) const
pure virtual

Gets a TocTrack enumerator containing information for each track that is on the CD.

Returns
A pointer to TocTrackEnum object.