Declared in <XDynArray.h>
Declared from XGSizeArrayDynamic array to pointers to things. This maintains an array of pointers, rather than to objects.
Construction/Destruction
XGPDynArray::XGPDynArray
XGPDynArray::operator =
XGPDynArray::~XGPDynArray
Element Access
XGPDynArray::Insert
XGPDynArray::operator +=
XGPDynArray::operator []
Construction/Destruction
Usage: XGPDynArray():XGSizeArray(sizeof(T*))
Ths constructs an empty array
Usage: const XGPDynArrayay()Tlt;&&operator=(const XGPDynArraynt T Ty(&o&old)
Copies the contents of this array to another array, destroying the old array and copying the pointers.
Usage: virtual~XGPDynArray()
This destroys this array, releasing all allocated memory. This does not destroy the pointers.
Element Access
Usage: void Insert(long i,const T*ptr)
This inserts the specified pointer at the location given. The index is a zero-based index; if i is zero, this inserts at the beginning. If i is the length, appends to the end.
Usage: XGPDynArray(lon Ti,co&operator+=(const T*t)
This appends the specified pointer to the end of the array.
Usage: T*&operator[](long i)const
This returns a reference to the specified pointer