#include <QueryNode.hpp>
Public Methods | |
| QnList () | |
| ~QnList () | |
| void | startIteration () |
| initialize for iteration. | |
| bool | hasMore () |
| are there any more elements in the list. | |
| QueryNode * | nextNode () |
| return the next element from the list. | |
| const QueryNode * | getNode (int j) const |
| return the i'th element of the list. | |
| int | size () const |
| return the number of elements in the list. | |
| void | push_back (QueryNode *qn) |
| Add a new element to the back of the list. | |
| QueryNode * | popNode () |
| remove an elt and return it (allows moving from list to list). | |
|
|
|
|
|
|
|
|
return the i'th element of the list.
|
|
|
are there any more elements in the list.
|
|
|
return the next element from the list.
|
|
|
remove an elt and return it (allows moving from list to list).
|
|
|
Add a new element to the back of the list.
|
|
|
return the number of elements in the list.
|
|
|
initialize for iteration.
|
1.2.18