PrimoBurner(tm) for C++
4.2
CD, DVD and Blu-ray Software Development Kit
|
Represents a collection of CDTrack objects. More...
#include <PrimoBurner.h>
Public Member Functions | |
virtual void | add (CDTrack *item)=0 |
Adds a new CDTrack object to the list. | |
virtual CDTrack * | at (int32_t index) const =0 |
Gets the element at the specified index. | |
virtual void | clear ()=0 |
Removes all items from the list. | |
virtual int32_t | count () const =0 |
Gets the number of elements in the list. | |
virtual int32_t | indexOf (const CDTrack *item) const =0 |
Determines the index of a specific item in the list. | |
virtual bool_t | insert (int32_t index, CDTrack *item)=0 |
Inserts an element at the specified position in the list. | |
virtual bool_t | remove (int32_t index)=0 |
Removes the element at the specified index. | |
virtual bool_t | setAt (int32_t index, CDTrack *item)=0 |
Sets the element at the specified index. |
Represents a collection of CDTrack objects.
Gets the element at the specified index.
index | The zero-based index of the element to get. |
virtual int32_t count | ( | ) | const [pure virtual] |
Gets the number of elements in the list.
Determines the index of a specific item in the list.
item | The CDTrack object that is searched in the list. |
Inserts an element at the specified position in the list.
index | The zero-based index in the list where the new element should be inserted. |
item | The new CDTrack object that should be inserted in the list. |
virtual bool_t remove | ( | int32_t | index | ) | [pure virtual] |
Removes the element at the specified index.
If the track that you remove is not the last track you must manually adjust the start and the end of each of the remaining tracks. The pre-gap and post-gap of all tracks should follow one after another and the end of one track should be the start of the next track, or otherwise the device may not accept the track layout.
index | [in] The zero-based index of the element to remove. |