Cogs.Core
|
Public Member Functions | |
SmallVectorImpl & | operator= (const SmallVectorImpl &other) |
SmallVectorImpl & | operator= (SmallVectorImpl &&other) noexcept |
void | resize (size_t newSize) |
void | reserve (size_t newCapacity) |
void | clear () |
template<typename T1 > | |
void | assign (T1 first, T1 last) |
void | assign (std::initializer_list< T > il) |
template<typename T1 > | |
void | append (T1 first, T1 last) |
void | append (std::initializer_list< T > il) |
![]() | |
void | push_back (const T &t) |
void | push_back (T &&t) |
void | emplace_back (Args &&... args) |
void | pop_back () |
void | erase (const T *pos) |
![]() | |
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 | |
SmallVectorImpl (size_t capacity, Memory::Allocator *allocator=Memory::Allocator::overflowAllocator()) | |
void | release () |
![]() | |
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) |
void | moveNew (T1 first, T1 last, T2 dest) |
void | move (T1 first, T1 last, T2 dest) |
void | copy (T1 first, T1 last, T2 dest) |
void | copyNew (T1 first, T1 last, T2 dest) |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
uint8_t | firstElement [sizeof(T)] |
![]() | |
void * | firstPtr |
void * | lastPtr |
void * | capacityPtr |
Memory::Allocator * | allocator |
Definition at line 297 of file SmallVector.h.
|
inline |
Definition at line 300 of file SmallVector.h.
|
inlineprotected |
Definition at line 419 of file SmallVector.h.
|
inline |
Definition at line 413 of file SmallVector.h.
|
inline |
Definition at line 401 of file SmallVector.h.
|
inline |
Definition at line 395 of file SmallVector.h.
|
inline |
Definition at line 382 of file SmallVector.h.
|
inline |
Definition at line 374 of file SmallVector.h.
|
inline |
Definition at line 309 of file SmallVector.h.
|
inlinenoexcept |
Definition at line 326 of file SmallVector.h.
|
inlineprotected |
Definition at line 423 of file SmallVector.h.
|
inline |
Definition at line 367 of file SmallVector.h.
|
inline |
Definition at line 358 of file SmallVector.h.