Declared in <XDynArray.h>
Array of objects. This knows how to manage an array (of fixed sized objects), grow the array, shrink the array, etc.
This forms the code base for the dynamic array stuff later, and is internal to the YAAF libraries.
Construction/Destruction
Public Methods
XGArray::Delete
XGArray::DeleteAll
XGArray::Length
XGArray::SetLength
Construction/Destruction
Usage: void XGArgStream::ReadString(char*str)
Construct an empty array.
Usage: XGArray::~XGArray()
Destroy this object. This does nothing; the destruction of the contents of this thing is dependant on the template declared from this thing.
Public Methods
Usage: void XGArray::Delete(long index)
Delete one element
Usage: void XGArray::DeleteAll(void)
Delete all elements
Usage: long Length(void)const
This returns the number of elements in this array
Usage: void XGArray::SetLength(long length)
This forces the length to be set to the particular size, clipping or adding elements to the end of the array