class PtrVector
#include <ptrvec.h>

Public Member Functions |
|
| UtilExport void | reshape (int i) |
| UtilExport void | setLength (int i) |
| UtilExport void | clear () |
| void | shrink () |
| int | length () const |
| int | capacity () const |
Protected Member Functions |
|
| PtrVector () | |
| UtilExport | ~PtrVector () |
| UtilExport | PtrVector (const PtrVector &v) |
| UtilExport PtrVector & | operator= (const PtrVector &v) |
| UtilExport void | append (void *ptr, int extra) |
| UtilExport void | insertAt (void *ptr, int at, int extra) |
| UtilExport void * | remove (int i) |
| UtilExport void * | removeLast () |
| void * | operator[] (int i) const |
| void *& | operator[] (int i) |
Protected Attributes |
|
| int | size |
| int | nused |
| void ** | data |
| PtrVector | ( | ) | [inline, protected] |
| UtilExport ~PtrVector | ( | ) | [protected] |
| UtilExport void append | ( | void * | ptr, |
| int | extra | ||
| ) | [protected] |
| UtilExport void insertAt | ( | void * | ptr, |
| int | at, | ||
| int | extra | ||
| ) | [protected] |
| UtilExport void* remove | ( | int | i | ) | [protected] |
Reimplemented in PtrVec< T >.
| UtilExport void* removeLast | ( | ) | [protected] |
Reimplemented in PtrVec< T >.
| void* operator[] | ( | int | i | ) | const [inline, protected] |
Reimplemented in PtrVec< T >.
{ return data[i]; }
| void*& operator[] | ( | int | i | ) | [inline, protected] |
Reimplemented in PtrVec< T >.
{ return data[i]; }
| UtilExport void reshape | ( | int | i | ) |
| UtilExport void setLength | ( | int | i | ) |
| UtilExport void clear | ( | ) |
| void shrink | ( | ) | [inline] |
| int length | ( | ) | const [inline] |
{ return nused; }
| int capacity | ( | ) | const [inline] |
{ return size; }
int size
[protected] |
int nused
[protected] |
void** data
[protected] |