A vector of element objects. More...
Public Member Functions | |
ElementList (int listSize=0) | |
Initialise vector with the list size. | |
ElementList (FileIO *file) | |
Load the element vector from the given file. | |
void | reorder (void) |
Renumber the vector items so they are in order. | |
void | purge (FileIO *file) |
Store the vector in the given file. | |
void | sortQuery (T **words, int wordCount) |
Sort the vector 'words' according to the class 'CompareWords'. |
A vector of element objects.
This class provides the methods to store and manipulate a vector of element objects.