#include <BaseVector.h>
Inheritance diagram for BaseVector:

Public Member Functions | |
| BaseVector (int ilimit=8, int ithreshold=16) | |
| Create the object. | |
| virtual | ~BaseVector () |
| Decrement reference count for all objects. | |
| virtual void | FreeItem (Some Item) const |
| Decrement object's reference count. | |
| int | Push (Base *what) |
| Base * | Pop () |
| Base * | Get (int iIndex) const |
| Get a pointer to object by index. | |
| bool | Insert (int n, Base *Item) |
| Insert element 'Item' before element 'n'. | |
| int | InsertSorted (Base *Item, int *oEqual=0, int Mode=0) |
| Insert element 'Item' so that array remains sorted (assumes its already sorted). | |
| Base* BaseVector::Pop | ( | ) | [inline] |
Pick the top object from the array. NOTE: THIS FUNCTION DOES NOT decrement object's reference counter
Reimplemented from Vector.
| int BaseVector::Push | ( | Base * | what | ) | [inline] |
Append the object to the array and increment object's reference counter.
1.4.7