#include <T2DynamicVector.h>
Classes | |
class | Iterator |
Public Member Functions | |
T2DynamicVector (T2Allocator *a_pAllocator=GetGlobalAllocator(), TINT a_iInitialSize=0, TINT a_iGrowSize=-1) | |
T2DynamicVector (T *a_poElements, TINT a_iInitialSize, TINT a_iNumElements) | |
~T2DynamicVector () | |
Iterator | InsertBefore (Iterator a_itInsertBefore, const T &a_rcItem=T()) |
Iterator | InsertAfter (Iterator a_itInsertAfter, const T &a_rcItem=T()) |
void | Clear () |
void | FreeMemory () |
void | Reserve (TINT a_iSize) |
template<class... Args> | |
T * | EmplaceBack (Args &&... args) |
void | PushBack (const T &item=T()) |
void | PushBack (T &&item) |
void | PopBack () |
Iterator | Find (const T &a_rcValue) |
void | Erase (const Iterator &a_rIterator) |
void | FindAndErase (const T &a_rcItem) |
void | EraseFast (const Iterator &a_rIterator) |
void | FindAndEraseFast (const T &a_rcItem) |
Iterator | Front () |
Iterator | Back () |
Iterator | Begin () |
Iterator | End () |
Iterator | MakeIterator (TINT a_iIndex) |
TINT | Size () const |
void | SetSize (TINT a_iNewSize) |
void | SetSize (TINT a_iNewSize, const T &a_rcValue) |
TINT | Capacity () const |
TBOOL | IsEmpty () const |
T & | At (TINT a_iIndex) |
const T & | At (TINT a_iIndex) const |
T & | operator[] (TINT a_iIndex) |
const T & | operator[] (TINT a_iIndex) const |
Additional Inherited Members | |
![]() | |
T2GenericDynamicVector (T2Allocator *a_pAllocator, TINT a_iInitialSize, TINT a_iGrowSize, TINT a_iElementSize) | |
T2GenericDynamicVector (void *a_poElements, TINT a_iInitialSize, TINT a_iNumElements) | |
void | Reallocate (TINT a_iNewSize, TINT a_iElementSize) |
void | Grow (TINT a_iNumElements, TINT a_iElementSize) |
![]() | |
T2Allocator * | m_pAllocator |
TINT | m_iGrowSize |
TINT | m_iNumElements |
TINT | m_iAllocSize |
void * | m_poElements |
Definition at line 50 of file T2DynamicVector.h.
|
inline |
Definition at line 226 of file T2DynamicVector.h.
|
inline |
Definition at line 230 of file T2DynamicVector.h.
|
inline |
Definition at line 234 of file T2DynamicVector.h.
|
inline |
Definition at line 426 of file T2DynamicVector.h.
|
inline |
Definition at line 432 of file T2DynamicVector.h.
|
inline |
Definition at line 373 of file T2DynamicVector.h.
|
inline |
Definition at line 379 of file T2DynamicVector.h.
|
inline |
Definition at line 416 of file T2DynamicVector.h.
|
inline |
Definition at line 255 of file T2DynamicVector.h.
|
inline |
Definition at line 284 of file T2DynamicVector.h.
|
inline |
Definition at line 384 of file T2DynamicVector.h.
|
inline |
Definition at line 320 of file T2DynamicVector.h.
|
inline |
Definition at line 349 of file T2DynamicVector.h.
|
inline |
Definition at line 308 of file T2DynamicVector.h.
|
inline |
Definition at line 340 of file T2DynamicVector.h.
|
inline |
Definition at line 359 of file T2DynamicVector.h.
|
inline |
Definition at line 265 of file T2DynamicVector.h.
|
inline |
Definition at line 367 of file T2DynamicVector.h.
|
inline |
Definition at line 247 of file T2DynamicVector.h.
|
inline |
Definition at line 239 of file T2DynamicVector.h.
|
inline |
Definition at line 421 of file T2DynamicVector.h.
|
inline |
Definition at line 389 of file T2DynamicVector.h.
|
inline |
Definition at line 438 of file T2DynamicVector.h.
|
inline |
Definition at line 443 of file T2DynamicVector.h.
|
inline |
Definition at line 302 of file T2DynamicVector.h.
|
inline |
Definition at line 290 of file T2DynamicVector.h.
|
inline |
Definition at line 296 of file T2DynamicVector.h.
|
inline |
Definition at line 275 of file T2DynamicVector.h.
|
inline |
Definition at line 399 of file T2DynamicVector.h.
|
inline |
Definition at line 405 of file T2DynamicVector.h.
|
inline |
Definition at line 394 of file T2DynamicVector.h.