List interface. More...
List interface.
Public Member Methods | |
virtual bool | GetFull () const =0 |
Query if the list is full. More... | |
virtual bool | GetEmpty () const =0 |
Query if the list is empty. More... | |
virtual Int32 | GetCount () const =0 |
Gets the number of items contained in the list. More... | |
virtual void | Clear ()=0 |
Clears all items. More... | |
virtual Int32 | AddNewItem ()=0 |
Adds new item. More... | |
virtual void | InsertNew (Int32 position)=0 |
Inserts a new item at a given position. More... | |
virtual void | RemoveAt (Int32 index)=0 |
Removes an item at index. More... | |
virtual void | Exchange (Int32 index1, Int32 index2)=0 |
Exchanges two items. More... | |
virtual void | Move (Int32 index1, Int32 index2)=0 |
Moves an item. More... | |
virtual bool | IndexValid (Int32 index) const =0 |
Query if index is valid. More... | |
|
pure virtual |
Adds new item.
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and ConceptStaticList< ElementType >.
|
pure virtual |
Exchanges two items.
index1 | The first item index. |
index2 | The second item index. |
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and BaseConceptStaticList.
|
pure virtual |
Gets the number of items contained in the list.
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and BaseConceptStaticList.
|
pure virtual |
Query if the list is empty.
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and BaseConceptStaticList.
|
pure virtual |
Query if the list is full.
Implemented in PointerListDynamic, SafeListDynamicFixed< ElementType >, SafeListDynamicFixed< Pointer >, SafeList< ElementType, Size >, SafeList< AcquisitionChannel, Size >, SafeList< Pointer, Size >, SafeList< ConceptRT::StaticString< 80 >, 50 >, SafeList< ConceptRT::Dictionary::Association, Size >, SafeList< StaticString< 255 >, Size >, and BaseConceptStaticList.
|
pure virtual |
Query if index is valid.
index | Zero-based index of the. |
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and BaseConceptStaticList.
|
pure virtual |
Inserts a new item at a given position.
position | The position. |
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and ConceptStaticList< ElementType >.
Moves an item.
index1 | The item index to move. |
index2 | The destination index. |
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and BaseConceptStaticList.
|
pure virtual |
Removes an item at index.
index | Zero-based index of the item. |
Implemented in BaseSafeList< ElementType >, BaseSafeList< Pointer >, BaseSafeList< ConceptRT::Dictionary::Association >, BaseSafeList< AcquisitionChannel >, BaseSafeList< ConceptRT::StaticString< 80 > >, BaseSafeList< StaticString< 255 > >, and BaseConceptStaticList.