|
| List () |
| Construct empty.
|
|
| List (const List< T > &list) |
| Construct from another list.
|
|
| List (List< T > &&list) noexcept |
| Move-construct from another list.
|
|
| List (const std::initializer_list< T > &list) |
| Aggregate initialization constructor.
|
|
| ~List () |
| Destruct.
|
|
List & | operator= (const List< T > &rhs) |
| Assign from another list.
|
|
List & | operator= (List< T > &&rhs) noexcept |
| Move-assign from another list.
|
|
List & | operator+= (const T &rhs) |
| Add-assign an element.
|
|
List & | operator+= (const List< T > &rhs) |
| Add-assign a list.
|
|
bool | operator== (const List< T > &rhs) const |
| Test for equality with another list.
|
|
bool | operator!= (const List< T > &rhs) const |
| Test for inequality with another list.
|
|
void | Push (const T &value) |
| Insert an element to the end.
|
|
void | PushFront (const T &value) |
| Insert an element to the beginning.
|
|
void | Insert (const Iterator &dest, const T &value) |
| Insert an element at position.
|
|
void | Insert (const Iterator &dest, const List< T > &list) |
| Insert a list at position.
|
|
void | Insert (const Iterator &dest, const ConstIterator &start, const ConstIterator &end) |
| Insert elements by iterators.
|
|
void | Insert (const Iterator &dest, const T *start, const T *end) |
| Insert elements.
|
|
void | Pop () |
| Erase the last element.
|
|
void | PopFront () |
| Erase the first element.
|
|
Iterator | Erase (Iterator it) |
| Erase an element by iterator. Return iterator to the next element.
|
|
Iterator | Erase (const Iterator &start, const Iterator &end) |
| Erase a range by iterators. Return an iterator to the next element.
|
|
void | Clear () |
| Clear the list.
|
|
void | Resize (i32 newSize) |
| Resize the list by removing or adding items at the end.
|
|
Iterator | Find (const T &value) |
| Return iterator to value, or to the end if not found.
|
|
ConstIterator | Find (const T &value) const |
| Return const iterator to value, or to the end if not found.
|
|
bool | Contains (const T &value) const |
| Return whether contains a specific value.
|
|
Iterator | Begin () |
| Return iterator to the first element.
|
|
ConstIterator | Begin () const |
| Return iterator to the first element.
|
|
Iterator | End () |
| Return iterator to the end.
|
|
ConstIterator | End () const |
| Return iterator to the end.
|
|
T & | Front () |
| Return first element.
|
|
const T & | Front () const |
| Return const first element.
|
|
T & | Back () |
| Return last element.
|
|
const T & | Back () const |
| Return const last element.
|
|
i32 | Size () const |
| Return number of elements.
|
|
bool | Empty () const |
| Return whether list is empty.
|
|
| ListBase () |
| Construct.
|
|
void | Swap (ListBase &rhs) |
| Swap with another linked list.
|
|
template<class T>
class Urho3D::List< T >
Doubly-linked list template class.