|
Public Member Functions |
ssize_t | Add (const void *newElement) |
ssize_t | AddArray (const void *array, size_t count) |
ssize_t | AddArrayAt (const void *array, size_t count, size_t index=SSIZE_MAX) |
ssize_t | AddAt (const void *newElement, size_t index) |
ssize_t | AddVector (const SAbstractVector &o) |
ssize_t | AddVectorAt (const SAbstractVector &o, size_t index=SSIZE_MAX) |
const void * | Array () const |
SValue | AsValue () const |
const void * | At (size_t index) const |
size_t | Capacity () const |
size_t | CountItems () const |
void * | EditArray () |
void * | EditAt (size_t index) |
size_t | ItemSize () const |
void | MakeEmpty () |
status_t | MoveItems (size_t newIndex, size_t oldIndex, size_t count=1) |
SAbstractVector & | operator= (const SAbstractVector &o) |
void | RemoveItemsAt (size_t index, size_t count=1) |
ssize_t | ReplaceAt (const void *newItem, size_t index) |
| SAbstractVector (const SAbstractVector &o) |
| SAbstractVector (size_t element_size) |
void | SetCapacity (size_t total_space) |
void | SetExtraCapacity (size_t extra_space) |
status_t | SetFromValue (const SValue &value) |
status_t | SetSize (size_t total_count, const void *protoElement) |
void | Swap (SAbstractVector &o) |
virtual | ~SAbstractVector () |
| WARNING: Your subclass must call MakeEmpty() in its own destructor!
|
Static Public Member Functions |
static void | MoveAfter (SAbstractVector *to, SAbstractVector *from, size_t count) |
static void | MoveBefore (SAbstractVector *to, SAbstractVector *from, size_t count) |
Protected Member Functions |
virtual void | PerformAssign (void *to, const void *from, size_t count) const =0 |
virtual SValue | PerformAsValue (const void *from, size_t count) const =0 |
virtual void | PerformConstruct (void *base, size_t count) const =0 |
virtual void | PerformCopy (void *to, const void *from, size_t count) const =0 |
virtual void | PerformDestroy (void *base, size_t count) const =0 |
virtual void | PerformMoveAfter (void *to, void *from, size_t count) const =0 |
virtual void | PerformMoveBefore (void *to, void *from, size_t count) const =0 |
virtual void | PerformReplicate (void *to, const void *protoElement, size_t count) const =0 |
virtual status_t | PerformSetFromValue (void *to, const SValue &value, size_t count)=0 |