#include "ds_common.h"Go to the source code of this file.
Data Structures | |
| struct | Vector |
Defines | |
| #define | VecOffset(vec, iter) (iter - vec->ppData) |
| #define | VecIter(vec, index) (vec->ppData + index) |
Functions | |
| Vector * | VectorCreate (long lSize, long lDelta) |
| void | VectorDestroy (Vector *pVec) |
| void ** | VectorPushBack (Vector *pVec, void *pData) |
| void ** | VectorPushFront (Vector *pVec, void *pData) |
| void ** | VectorFind (Vector *pVec, void **ppIter, void *pData, bool bDirection) |
| void ** | VectorSimpleFind (Vector *pVec, void *pData) |
| void | VectorRemove (Vector *pVec, void **pIter) |
| void | VectorPopBack (Vector *pVec) |
| void | VectorPopFront (Vector *pVec) |
Variables | |
| Vector | Vector |
|
|
Retrieve an iterator from an index into the vector.
|
|
|
Get the offset of an iterator into a Vector.
|
|
||||||||||||
|
Create a new vector.
|
|
|
Destroy a vector.
|
|
||||||||||||||||||||
|
Find a value in the vector.
|
|
|
Remove the last value from the vector.
|
|
|
Remove the first value from the vector.
|
|
||||||||||||
|
Push an element on to the back of the vector.
|
|
||||||||||||
|
Push an element on the the front of the vector.
|
|
||||||||||||
|
Remove a value from the vector.
|
|
||||||||||||
|
Find a value in the vector.
|
|
1.2.10 written by Dimitri van Heesch,
© 1997-2001