|
Public Methods |
| | QnList () |
| virtual | ~QnList () |
| virtual void | startIteration () |
| | initialize for iteration.
|
| virtual bool | hasMore () |
| | are there any more elements in the list.
|
| virtual QueryNode * | nextNode () |
| | return the next element from the list.
|
| virtual QueryNode * | getNode (int i) |
| | return the i'th element of the list.
|
| virtual int | size () |
| | return the number of elements in the list.
|
| virtual void | push_back (QueryNode *qn) |
| | Add a new element to the back of the list.
|
Protected Attributes |
| int | i |
| | index counter for iteration.
|
| vector< QueryNode * > | qnList |
| | the actual vector of QueryNodes.
|