FieldDef Class Reference

#include <Field.h>

Collaboration diagram for FieldDef:

Collaboration graph
[legend]

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_

Detailed Description

Definition at line 31 of file Field.h.


Constructor & Destructor Documentation

FieldDef::FieldDef (  )  [inline]

Definition at line 34 of file Field.h.

References init().

00035     {
00036         init();
00037     }

Here is the call graph for this function:


Member Function Documentation

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:


Field Documentation

void* FieldDef::bindVal_

Definition at line 56 of file Field.h.

Referenced by init(), and FieldList::updateBindVal().

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

DataType FieldDef::type_

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


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