PrimoBurner(tm) for C++
4.2
CD, DVD and Blu-ray Software Development Kit
|
Represents a collection of CD track indexes. More...
#include <PrimoBurner.h>
Public Member Functions | |
virtual void | add (int32_t item)=0 |
Adds a new CD index to the list. | |
virtual int32_t | at (int32_t index) const =0 |
Gets a CD index position, in blocks, relative to the track start. | |
virtual void | clear ()=0 |
Removes all items from the list. | |
virtual int32_t | count () const =0 |
Gets the number of elements contained in the list. | |
virtual int32_t | indexOf (int32_t item) const =0 |
Determines the index of a specific element in the list. | |
virtual bool_t | insert (int32_t index, int32_t 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, int32_t item)=0 |
Sets the position of an existing CD index. |
Represents a collection of CD track indexes.
An index is defined as blocks relative to the track start.
virtual void add | ( | int32_t | item | ) | [pure virtual] |
Adds a new CD index to the list.
You can add up to 98 indexes per CD track.
item | Specifies the CD index, in blocks, relative to the track start. |
virtual int32_t at | ( | int32_t | index | ) | const [pure virtual] |
Gets a CD index position, in blocks, relative to the track start.
index | The zero-based index of the element to get. |
virtual int32_t count | ( | ) | const [pure virtual] |
Gets the number of elements contained in the list.
virtual int32_t indexOf | ( | int32_t | item | ) | const [pure virtual] |
Determines the index of a specific element in the list.
item | The CD index, in blocks, relative to the track start. |
virtual bool_t insert | ( | int32_t | index, |
int32_t | item | ||
) | [pure virtual] |
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 CD index position that should be inserted in the list. |
virtual bool_t remove | ( | int32_t | index | ) | [pure virtual] |
Removes the element at the specified index.
index | The zero-based index of the item to remove. |
virtual bool_t setAt | ( | int32_t | index, |
int32_t | item | ||
) | [pure virtual] |
Sets the position of an existing CD index.
The method does nothing if the "index" parameter is out of range.
index | The zero-based index of the element to get or set. |
item | The CD index, in blocks, relative to the track start. |