|
typedef BaseLink * | ValueType |
|
typedef DefaultAllocator | AllocatorType |
|
typedef IteratorTemplate< false > | Iterator |
|
typedef IteratorTemplate< true > | ConstIterator |
|
| BaseArray () |
|
| BaseArray (const DefaultAllocator &a) |
|
| BaseArray (BaseArray &&src) |
|
BaseArray & | operator= (BaseArray &&src) |
|
| ~BaseArray () |
|
void | Reset () |
|
void | Flush () |
|
Int | GetCount () const |
|
Bool | IsEmpty () const |
|
Int | GetCapacityCount () const |
|
const BaseLink * & | operator[] (Int idx) const |
|
BaseLink * & | operator[] (Int idx) |
|
BaseLink * * | Append () |
|
BaseLink * * | Append (const BaseLink * &x) |
|
BaseLink * * | Append (BaseLink * &&x) |
|
BaseLink * * | Insert (Int position) |
|
Iterator | Insert (Iterator position) |
|
BaseLink * * | Insert (Int position, const BaseLink * &x) |
|
Iterator | Insert (Iterator position, const BaseLink * &x) |
|
BaseLink * * | Insert (Int position, BaseLink * &&x) |
|
Iterator | Insert (Iterator position, BaseLink * &&x) |
|
BaseLink * * | Insert (Int position, const BaseLink * *x, Int insertCnt) |
|
Iterator | Insert (Iterator position, const BaseLink * *x, Int insertCnt) |
|
BaseLink * * | Erase (Int position, Int eraseCnt=1) |
|
Iterator | Erase (Iterator position, Int eraseCnt=1) |
|
const BaseLink * * | GetFirst () const |
|
BaseLink * * | GetFirst () |
|
const BaseLink * * | GetLast () const |
|
BaseLink * * | GetLast () |
|
Bool | Resize (Int newCnt, BASEARRAYRESIZEFLAGS resizeFlags=BASEARRAYRESIZEFLAGS_DEFAULT) |
|
Bool | Pop (BaseLink * *dst=nullptr) |
|
Int | GetIndex (const BaseLink * &x) const |
|
Bool | EnsureCapacity (Int requestedCapacity) |
|
Bool | CopyFrom (const SourceArray &src, Bool fitToSize=true) |
|
Bool | CopyFrom (const BaseArray &src, Bool fitToSize) |
|
Bool | CopyFrom (const BaseArray &src) |
|
void | Swap (Iterator a, Iterator b) |
|
ConstIterator | Begin () const |
|
Iterator | Begin () |
|
ConstIterator | End () const |
|
Iterator | End () |
|
Bool | MoveAndShrink (BaseArray< BaseLink *, BASEARRAY_DEFAULT_CHUNK_SIZE, BASEARRAYFLAGS_0, DefaultAllocator > &dst, Int position, Int moveCnt) |
|
BaseLink * * | Disconnect (Int *dst=nullptr) |
|
DefaultAllocator & | GetAllocator () |
|
BaseLink * * | AppendWithoutConstructor (Int increment=1) |
|
BaseLink * * | InsertWithoutConstructor (Int idx, Int increment=1) |
|
Bool | FitToSize (Int newCapacity) |
|
static Int | ComputeArraySize (Int current_size, Int increment, Int min_chunk_size) |
|
static void * | Alloc (Int32 s) |
|
static void * | Alloc (Int64 s) |
|
static void * | AllocClear (Int32 s) |
|
static void * | AllocClear (Int64 s) |
|
static void * | Realloc (void *p, Int n) |
|
template<class T > |
static void | Free (T *&p) |
|
BaseLink * * | _ptr |
|
Int | _cnt |
|
Int | _capacity |
|
A helper class to handle BaseLink instances.
- Since
- 17.008