|
Public Types |
typedef TYPE | value_type |
Public Member Functions |
ssize_t | AddItem (const TYPE &item, bool *added=NULL) |
const TYPE * | Array () const |
size_t | Capacity () const |
ssize_t | CeilIndexOf (const TYPE &item) const |
size_t | CountItems () const |
ssize_t | FloorIndexOf (const TYPE &item) const |
bool | GetIndexOf (const TYPE &item, size_t *index) const |
bool | HasItem (const TYPE &item) const |
ssize_t | IndexOf (const TYPE &item) const |
const TYPE & | ItemAt (size_t i) const |
void | MakeEmpty () |
SSortedVector< TYPE > & | operator= (const SSortedVector< TYPE > &o) |
const TYPE & | operator[] (size_t i) const |
ssize_t | RemoveItemFor (const TYPE &item) |
void | RemoveItemsAt (size_t index, size_t count=1) |
void | SetCapacity (size_t total_space) |
void | SetExtraCapacity (size_t extra_space) |
| SSortedVector (const SSortedVector< TYPE > &o) |
| SSortedVector () |
void | Swap (SSortedVector< TYPE > &o) |
virtual | ~SSortedVector () |
Static Public Member Functions |
static void | MoveAfter (SSortedVector< TYPE > &to, SSortedVector< TYPE > &from, size_t count) |
static void | MoveBefore (SSortedVector< TYPE > &to, SSortedVector< TYPE > &from, size_t count) |
Protected Member Functions |
virtual void | PerformAssign (void *to, const void *from, size_t count) const |
virtual SValue | PerformAsValue (const void *from, size_t count) const |
virtual int32_t | PerformCompare (const void *d1, const void *d2) const |
virtual void | PerformConstruct (void *base, size_t count) const |
virtual void | PerformCopy (void *to, const void *from, size_t count) const |
virtual void | PerformDestroy (void *base, size_t count) const |
virtual bool | PerformLessThan (const void *d1, const void *d2) const |
virtual void | PerformMoveAfter (void *to, void *from, size_t count) const |
virtual void | PerformMoveBefore (void *to, void *from, size_t count) const |
virtual void | PerformReplicate (void *to, const void *protoElement, size_t count) const |
virtual status_t | PerformSetFromValue (void *to, const SValue &value, size_t count) |