|
Cogs.Core
|
Public Member Functions | |
| void | push_back (const T &t) |
| void | push_back (T &&t) |
| template<typename... Args> | |
| void | emplace_back (Args &&... args) |
| void | pop_back () |
| void | erase (const T *pos) |
Public Member Functions inherited from Cogs::Collections::SmallVectorTemplateBase< T > | |
| bool | empty () const |
| size_t | size () const |
| size_t | capacity () const |
| T * | data () |
| const T * | data () const |
| T * | begin () |
| T * | end () |
| const T * | begin () const |
| const T * | end () const |
| const T * | cbegin () const |
| const T * | cend () const |
| T & | operator[] (const size_t index) |
| const T & | operator[] (const size_t index) const |
| T & | back () |
| const T & | back () const |
| T & | front () |
| const T & | front () const |
Protected Member Functions | |
| SmallVectorImplBase (size_t capacity, Memory::Allocator *allocator) | |
| void | grow (size_t minSize=0) |
| void | initialize (T *first, const T *last) |
| void | destroy (T *first, const T *last) |
| template<typename T1 , typename T2 > | |
| void | moveNew (T1 first, T1 last, T2 dest) |
| template<typename T1 , typename T2 > | |
| void | move (T1 first, T1 last, T2 dest) |
| template<typename T1 , typename T2 > | |
| void | copy (T1 first, T1 last, T2 dest) |
| template<typename T1 , typename T2 > | |
| void | copyNew (T1 first, T1 last, T2 dest) |
Protected Member Functions inherited from Cogs::Collections::SmallVectorTemplateBase< T > | |
| SmallVectorTemplateBase (size_t capacity, Memory::Allocator *allocator) | |
| bool | isSmall () const |
| void | setSize (size_t newSize) |
| void | reset () |
Protected Member Functions inherited from Cogs::Collections::SmallVectorBase | |
| SmallVectorBase (void *data, size_t capacity, Memory::Allocator *allocator) | |
| void | growPod (const void *firstElement, const size_t minSizeBytes) |
| size_t | sizeInBytes () const |
| size_t | capacityInBytes () const |
Additional Inherited Members | |
Protected Attributes inherited from Cogs::Collections::SmallVectorTemplateBase< T > | |
| uint8_t | firstElement [sizeof(T)] |
Protected Attributes inherited from Cogs::Collections::SmallVectorBase | |
| void * | firstPtr |
| void * | lastPtr |
| void * | capacityPtr |
| Memory::Allocator * | allocator |
Definition at line 117 of file SmallVector.h.
|
inlineprotected |
Definition at line 168 of file SmallVector.h.
|
inlineprotected |
Definition at line 220 of file SmallVector.h.
|
inlineprotected |
Definition at line 228 of file SmallVector.h.
|
inlineprotected |
Definition at line 196 of file SmallVector.h.
|
inline |
Definition at line 141 of file SmallVector.h.
|
inline |
Definition at line 158 of file SmallVector.h.
|
inlineprotected |
Definition at line 171 of file SmallVector.h.
|
inlineprotected |
Definition at line 189 of file SmallVector.h.
|
inlineprotected |
Definition at line 212 of file SmallVector.h.
|
inlineprotected |
Definition at line 204 of file SmallVector.h.
|
inline |
Definition at line 151 of file SmallVector.h.
|
inline |
Definition at line 120 of file SmallVector.h.
|
inline |
Definition at line 130 of file SmallVector.h.