Represents a heterogeneous collection of objects that can be individually accessed by index.
More...
template<class T, class TValueInterface, class TValuePtr>
class ListObjectPtr< T, TValueInterface, TValuePtr >
Represents a heterogeneous collection of objects that can be individually accessed by index.
|
TValuePtr | getItemAt (size_t index) const |
| Gets the element at a specific position. More...
|
|
SizeT | getCount () const |
| Gets the number of elements contained in the list. More...
|
|
SizeT | empty () const |
| Returns true if there are no elements in the list. More...
|
|
void | setItemAt (size_t index, const TValuePtr &obj) |
| Sets the element at a specific position. More...
|
|
void | pushBack (const TValuePtr &obj) |
| Inserts the element at the end of the list. More...
|
|
void | pushBack (TValuePtr &&obj) |
| Inserts the element at the end of the list. More...
|
|
void | pushFront (const TValuePtr &obj) |
| Inserts the element at the start of the list. More...
|
|
void | pushFront (TValuePtr &&obj) |
| Inserts the element at the start of the list. More...
|
|
TValuePtr | popBack () |
| Gets the element from the end of the list. More...
|
|
TValuePtr | popFront () |
| Gets the element from the start of the list. More...
|
|
void | insertAt (size_t index, const TValuePtr &obj) |
| Inserts the element at a specific position. More...
|
|
TValuePtr | removeAt (size_t index) |
| Removes the element at a specific position. More...
|
|
void | deleteAt (size_t index) |
| Deletes the element at a specific position. More...
|
|
void | clear () |
| Removes all elements from the list.
|
|
IteratorType | begin () const |
| Creates start iterator for the list.
|
|
IteratorType | end () const |
| Creates end iterator for the list.
|
|
IntfID | getElementInterfaceId () const |
| Returns the interface id of the expected list element type. More...
|
|
std::vector< TValuePtr > | toVector () |
| Returns a copy of list as std::vector.
|
|