Represents a list of CDMode objects.
More...
#include <PrimoBurnerAPI.h>
|
virtual void | add (CDMode *item)=0 |
| Adds a new CDMode object to the list. More...
|
|
virtual CDMode * | at (int32_t index) const =0 |
| Gets the element at the specified index. More...
|
|
virtual void | clear ()=0 |
| Removes all items from the list.
|
|
virtual int32_t | count () const =0 |
| Gets the number of elements in the list. More...
|
|
virtual int32_t | indexOf (const CDMode *item) const =0 |
| Determines the index of a specific item in the list. More...
|
|
virtual bool_t | insert (int32_t index, CDMode *item)=0 |
| Inserts an element at the specified position in the list. More...
|
|
virtual bool_t | remove (int32_t index)=0 |
| Removes the element at the specified index. More...
|
|
virtual bool_t | setAt (int32_t index, CDMode *item)=0 |
| Sets the element at the specified index. More...
|
|
Represents a list of CDMode objects.
- See Also
- CDMode
-
Object Management
virtual void add |
( |
CDMode * |
item | ) |
|
|
pure virtual |
Adds a new CDMode object to the list.
- Parameters
-
item | A CDMode object that should be added to the list. |
- See Also
- CDMode
virtual CDMode* at |
( |
int32_t |
index | ) |
const |
|
pure virtual |
Gets the element at the specified index.
This method returns a reference type.
- Parameters
-
index | The zero-based index of the element to get. |
- Returns
- A CDMode instance, or NULL if the index is out of range.
virtual int32_t count |
( |
| ) |
const |
|
pure virtual |
Gets the number of elements in the list.
- Returns
- number of elements
virtual int32_t indexOf |
( |
const CDMode * |
item | ) |
const |
|
pure virtual |
Determines the index of a specific item in the list.
- Parameters
-
item | The item that is searched in the list |
- Returns
- The index of the searched item if found in the list; otherwise, -1.
virtual bool_t insert |
( |
int32_t |
index, |
|
|
CDMode * |
item |
|
) |
| |
|
pure virtual |
Inserts an element at the specified position in the list.
- Parameters
-
index | The zero-based index in the list where the new element should be inserted. |
item | The new CDMode object that should be inserted in the list. |
- Returns
- TRUE if the operation is successful, FALSE otherwise.
virtual bool_t remove |
( |
int32_t |
index | ) |
|
|
pure virtual |
Removes the element at the specified index.
- Parameters
-
index | The zero-based index of the element to remove. |
- Returns
- TRUE if the operation is sucessful, FALSE otherwise.
virtual bool_t setAt |
( |
int32_t |
index, |
|
|
CDMode * |
item |
|
) |
| |
|
pure virtual |
Sets the element at the specified index.
- Parameters
-
index | The zero-based index of the element to set. |
item | The new CDMode object. |
- Returns
- TRUE if the operation is successful, FALSE otherwise.