## class XGPDynArray

> Declared in <XDynArray.h>
> Declared from XGSizeArray

> Dynamic 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

XGPDynArray::XGPDynArray

> Usage: XGPDynArray():XGSizeArray(sizeof(T*))

> Ths constructs an empty array

XGPDynArray::operator =

> 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.

XGPDynArray::~XGPDynArray

> Usage: virtual~XGPDynArray()

> This destroys this array, releasing all allocated memory. This does not destroy the pointers.

Element Access

XGPDynArray::Insert

> 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.

XGPDynArray::operator +=

> Usage: XGPDynArray(lon Ti,co&operator+=(const T*t)

> This appends the specified pointer to the end of the array.

XGPDynArray::operator []

> Usage: T*&operator[](long i)const

> This returns a reference to the specified pointer