A list of triples. More...
Public Member Functions | |
TripleList (int listSize) | |
Initialise the list with the list size. | |
void | append (T *triple) |
Append a triple to the list. | |
void | reset (void) |
Reset the list by deleting all triples. | |
void | refresh (void) |
Reset the list without deleting the triples. | |
void | termSort (void) |
Sort the list using the operator in TripleSort. | |
void | freeList (void) |
Delete all triples without resetting pointer. | |
T ** | back (void) |
Return the triple at the back of the list (the last triple inserted). | |
T ** | front (void) |
Return the triple at the front of the list (the first triple inserted). | |
T * | operator[] (int position) |
Access a triple using the [] operator. | |
int | size (void) |
Return the number of triples currently in the list. |
A list of triples.
This class is used to store a list of Triples and provides methods for list manipulation.