FieldIterator Class Reference

#include <Field.h>

Collaboration diagram for FieldIterator:

Collaboration graph
[legend]

Public Member Functions

 FieldIterator (FieldNode *ptr)
bool hasElement ()
FieldDef nextElement ()

Data Fields

FieldNodeiter

Detailed Description

Definition at line 73 of file Field.h.


Constructor & Destructor Documentation

FieldIterator::FieldIterator ( FieldNode ptr  )  [inline]

Definition at line 77 of file Field.h.

References iter.

00077 { iter = ptr; }


Member Function Documentation

bool FieldIterator::hasElement (  )  [inline]

Definition at line 78 of file Field.h.

References iter.

Referenced by TableDef::addField(), TableImpl::getFieldNameList(), TableDef::getTupleSize(), CatalogTableFIELD::insert(), DatabaseManagerImpl::openTable(), and HashIndex::update().

00079     {
00080         if (iter == NULL) return false; else return true;
00081     }

Here is the caller graph for this function:

FieldDef FieldIterator::nextElement (  )  [inline]

Definition at line 82 of file Field.h.

References FieldNode::fldDef, iter, and FieldNode::next.

Referenced by TableDef::addField(), TableImpl::getFieldNameList(), TableDef::getTupleSize(), CatalogTableFIELD::insert(), DatabaseManagerImpl::openTable(), and HashIndex::update().

00083     {
00084         if (iter == NULL) { FieldDef dummyDef; return dummyDef;}
00085         FieldNode *node = iter;
00086         iter = iter ->next;
00087         return node->fldDef;
00088     }

Here is the caller graph for this function:


Field Documentation

FieldNode* FieldIterator::iter

Definition at line 76 of file Field.h.

Referenced by FieldIterator(), hasElement(), and nextElement().


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 22:47:47 2008 for csql by  doxygen 1.4.7