#include <Field.h>
Collaboration diagram for FieldIterator:
Public Member Functions | |
FieldIterator (FieldNode *ptr) | |
bool | hasElement () |
FieldDef | nextElement () |
Data Fields | |
FieldNode * | iter |
Definition at line 73 of file Field.h.
FieldIterator::FieldIterator | ( | FieldNode * | ptr | ) | [inline] |
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:
Definition at line 76 of file Field.h.
Referenced by FieldIterator(), hasElement(), and nextElement().