|
VectorData * | pData |
| The container private information. More...
|
|
int32_t(* | push_back )(struct _Vector *, Item) |
| Push an item to the tail of the vector. More...
|
|
int32_t(* | insert )(struct _Vector *, Item, int32_t) |
| Insert an item to the designated index of the vector. More...
|
|
int32_t(* | pop_back )(struct _Vector *) |
| Pop an item from the tail of the vector. More...
|
|
int32_t(* | delete )(struct _Vector *, int32_t) |
| Delete an item from the designated index of the vector. More...
|
|
int32_t(* | set )(struct _Vector *, Item, int32_t) |
| Set an item at the designated index of the vector. More...
|
|
int32_t(* | get )(struct _Vector *, Item *, int32_t) |
| Get an item from the designated index of the vector. More...
|
|
int32_t(* | resize )(struct _Vector *, int32_t) |
| Change the container capacity. More...
|
|
int32_t(* | size )(struct _Vector *) |
| Return the number of stored items. More...
|
|
int32_t(* | capacity )(struct _Vector *) |
| Return the container capacity. More...
|
|
int32_t(* | sort )(struct _Vector *, int32_t(*)(const void *, const void *)) |
| Sort the items via the designated item comparison method. More...
|
|
int32_t(* | iterate )(struct _Vector *, bool, Item *) |
| Iterate through the vector till the tail end. More...
|
|
int32_t(* | reverse_iterate )(struct _Vector *, bool, Item *) |
| Reversely iterate through the vector till the head end. More...
|
|
int32_t(* | set_destroy )(struct _Vector *, void(*)(Item)) |
| Set the custom item resource clean method. More...
|
|
The implementation for dynamically growable array.
Definition at line 14 of file vector.h.