PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
UdfExtentList Class Referenceabstract

Represents a collection of UdfExtent objects. More...

#include <PrimoBurnerAPI.h>

Public Member Functions

virtual void add (UdfExtent *item)=0
 Adds a UdfExtent object to the list. More...
 
virtual UdfExtentat (int 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.
 
virtual int32_t indexOf (const UdfExtent *item) const =0
 Determines the index of a specific item in the list. More...
 
virtual bool_t insert (int32_t index, UdfExtent *item)=0
 Inserts an item at the specified index 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, UdfExtent *item)=0
 Sets the element at the specified index. More...
 

Detailed Description

Represents a collection of UdfExtent objects.

Member Function Documentation

virtual void add ( UdfExtent item)
pure virtual

Adds a UdfExtent object to the list.

Parameters
item[in] A UdfExtent object that should be added to the list.
virtual UdfExtent* at ( int  index) const
pure virtual

Gets the element at the specified index.

Parameters
index[in] The zero-based index of the element to get.
Returns
A pointer to a UdfExtent object, or NULL if the index is out of range.
virtual int32_t indexOf ( const UdfExtent item) const
pure virtual

Determines the index of a specific item in the list.

Parameters
item[in] The new UdfExtent object.
Returns
The index of item if found in the list; otherwise, -1.
virtual bool_t insert ( int32_t  index,
UdfExtent item 
)
pure virtual

Inserts an item at the specified index in the list.

Parameters
index[in] The zero-based index in the list where the new item should be inserted. It is allowed to specify the index after the last element in which case the item is added to the end of the list.
item[in] The new UdfExtent object that should be inserted in the list.
Returns
TRUE if the specified item is inserted in the list, FALSE otherwise.
virtual bool_t remove ( int32_t  index)
pure virtual

Removes the element at the specified index.

Parameters
index[in] The zero-based index of the element to remove.
Returns
TRUE if the specified element is removed from the list, FALSE otherwise.
virtual bool_t setAt ( int32_t  index,
UdfExtent item 
)
pure virtual

Sets the element at the specified index.

Parameters
index[in] The zero-based index of the element to set.
item[in] The new UdfExtent object.
Returns
TRUE if the item is added to the list, FALSE otherwise.