Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

QnList Class Reference

#include <QueryNode.hpp>

List of all members.

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).


Detailed Description

List of query nodes which constitute the one level of a structured query parse tree. Provides iteration and random access of individual list elements by index.


Constructor & Destructor Documentation

QnList::QnList (    )  [inline]
 

QnList::~QnList (    ) 
 


Member Function Documentation

const QueryNode* QnList::getNode (  int    j )  const [inline]
 

return the i'th element of the list.

bool QnList::hasMore (    )  [inline]
 

are there any more elements in the list.

QueryNode* QnList::nextNode (    )  [inline]
 

return the next element from the list.

QueryNode* QnList::popNode (    )  [inline]
 

remove an elt and return it (allows moving from list to list).

void QnList::push_back (  QueryNode *    qn )  [inline]
 

Add a new element to the back of the list.

int QnList::size (    )  const [inline]
 

return the number of elements in the list.

void QnList::startIteration (    )  [inline]
 

initialize for iteration.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:52 2004 for Lemur Toolkit by doxygen1.2.18