Declared in <XDynArray.h>
Declared from XGSizeArrayLike the XGPDynArray, but used to deal with arrays of structures which have no constructors, destructors, etc.
Construction/Destruction
XGSDynArray::XGSDynArray
XGSDynArray::operator =
XGSDynArray::~XGSDynArray
Element Access
XGSDynArray::Insert
XGSDynArray::operator +=
XGSDynArray::operator []
Construction/Destruction
Usage: XGSDynArray():XGSizeArray(sizeof(T))
Ths constructs an empty array
Usage: const XGSDynArrayay()Tlt;&&operator=(const XGSDynArraynt T Ty(&o&old)
Copies the contents of this array to another array, destroying the old array and using a memory copy operator to move the array elements
Usage: virtual~XGSDynArray()
This destroys this array, releasing all allocated memory.
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: XGSDynArray(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