Cogs.Core
|
Public Member Functions | |
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 | |
SmallVectorTemplateBase (size_t capacity, Memory::Allocator *allocator) | |
bool | isSmall () const |
void | setSize (size_t newSize) |
void | reset () |
![]() | |
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 |
Protected Attributes | |
uint8_t | firstElement [sizeof(T)] |
![]() | |
void * | firstPtr |
void * | lastPtr |
void * | capacityPtr |
Memory::Allocator * | allocator |
Definition at line 42 of file SmallVector.h.
|
inlineprotected |
Definition at line 97 of file SmallVector.h.
|
inline |
Definition at line 72 of file SmallVector.h.
|
inline |
Definition at line 78 of file SmallVector.h.
|
inline |
Definition at line 52 of file SmallVector.h.
|
inline |
Definition at line 55 of file SmallVector.h.
|
inline |
Definition at line 47 of file SmallVector.h.
|
inline |
Definition at line 57 of file SmallVector.h.
|
inline |
Definition at line 58 of file SmallVector.h.
|
inline |
Definition at line 49 of file SmallVector.h.
|
inline |
Definition at line 50 of file SmallVector.h.
|
inline |
Definition at line 45 of file SmallVector.h.
|
inline |
Definition at line 53 of file SmallVector.h.
|
inline |
Definition at line 56 of file SmallVector.h.
|
inline |
Definition at line 84 of file SmallVector.h.
|
inline |
Definition at line 90 of file SmallVector.h.
|
inlineprotected |
Definition at line 100 of file SmallVector.h.
|
inline |
Definition at line 60 of file SmallVector.h.
|
inline |
Definition at line 66 of file SmallVector.h.
|
inlineprotected |
Definition at line 108 of file SmallVector.h.
|
inlineprotected |
Definition at line 102 of file SmallVector.h.
|
inline |
Definition at line 46 of file SmallVector.h.
|
protected |
Definition at line 113 of file SmallVector.h.