#include <Field.h>
Collaboration diagram for FieldDef:
Public Member Functions | |
FieldDef () | |
void | init () |
Data Fields | |
char | fldName_ [IDENTIFIER_LENGTH] |
DataType | type_ |
size_t | length_ |
char | defaultValueBuf_ [DEFAULT_VALUE_BUF_LENGTH] |
void * | bindVal_ |
bool | isNull_ |
bool | isPrimary_ |
bool | isDefault_ |
bool | isUnique_ |
Definition at line 31 of file Field.h.
FieldDef::FieldDef | ( | ) | [inline] |
void FieldDef::init | ( | ) | [inline] |
Definition at line 38 of file Field.h.
References bindVal_, fldName_, isDefault_, isNull_, isPrimary_, isUnique_, length_, type_, and typeUnknown.
Referenced by FieldDef(), and ParsedData::insertFldDef().
00038 { 00039 type_ = typeUnknown; 00040 length_ = 0; 00041 bindVal_ = NULL; 00042 isDefault_ = false; 00043 isNull_ = false; 00044 isPrimary_ = false; 00045 isUnique_ = false; 00046 strcpy(fldName_, ""); 00047 }
Here is the caller graph for this function:
void* FieldDef::bindVal_ |
char FieldDef::defaultValueBuf_[DEFAULT_VALUE_BUF_LENGTH] |
Definition at line 53 of file Field.h.
Referenced by TableDef::addField(), FieldList::getFieldInfo(), CatalogTableFIELD::getFieldInfo(), CatalogTableFIELD::insert(), CreateTblStatement::resolve(), and ParsedData::setDefaultValue().
char FieldDef::fldName_[IDENTIFIER_LENGTH] |
Definition at line 48 of file Field.h.
Referenced by TableDef::addField(), FieldList::getFieldInfo(), CatalogTableFIELD::getFieldInfo(), FieldList::getFieldLength(), FieldList::getFieldOffset(), FieldList::getFieldPosition(), FieldList::getFieldType(), init(), CatalogTableFIELD::insert(), FieldList::remove(), CreateTblStatement::resolve(), ParsedData::setFldName(), and FieldList::updateBindVal().
bool FieldDef::isDefault_ |
Definition at line 60 of file Field.h.
Referenced by TableDef::addField(), FieldList::getFieldInfo(), CatalogTableFIELD::getFieldInfo(), init(), CatalogTableFIELD::insert(), CreateTblStatement::resolve(), and ParsedData::setDefaultValue().
bool FieldDef::isNull_ |
Definition at line 58 of file Field.h.
Referenced by TableDef::addField(), FieldList::getFieldInfo(), CatalogTableFIELD::getFieldInfo(), init(), CatalogTableFIELD::insert(), CreateTblStatement::resolve(), and ParsedData::setFldNotNull().
bool FieldDef::isPrimary_ |
Definition at line 59 of file Field.h.
Referenced by FieldList::getFieldInfo(), CatalogTableFIELD::getFieldInfo(), init(), and CatalogTableFIELD::insert().
bool FieldDef::isUnique_ |
Definition at line 61 of file Field.h.
Referenced by CatalogTableFIELD::getFieldInfo(), init(), and CatalogTableFIELD::insert().
size_t FieldDef::length_ |
Definition at line 50 of file Field.h.
Referenced by TableDef::addField(), FieldList::getFieldInfo(), CatalogTableFIELD::getFieldInfo(), FieldList::getFieldLength(), FieldList::getFieldOffset(), FieldList::getTupleSize(), init(), CatalogTableFIELD::insert(), CreateTblStatement::resolve(), and ParsedData::setFldLength().
Definition at line 49 of file Field.h.
Referenced by TableDef::addField(), FieldList::getFieldInfo(), CatalogTableFIELD::getFieldInfo(), FieldList::getFieldType(), init(), CatalogTableFIELD::insert(), CreateTblStatement::resolve(), and ParsedData::setFldType().