TripleList< T > Class Template Reference

A list of triples. More...

List of all members.

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.

Detailed Description

template<typename T>
class TripleList< T >

A list of triples.

This class is used to store a list of Triples and provides methods for list manipulation.

Author
lapark
Revision
1.3
Date
2009/10/08 06:41:30
Id
TripleList.tcc,v 1.3 2009/10/08 06:41:30 lapark Exp

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:18 2009 for textIR by  doxygen 1.6.1