Public Member Functions | |
ColumnDef (std::string cname, std::string ctype) | |
ColumnDef (const dBColumn_t &c) | |
~ColumnDef () | |
std::string | Name () const |
std::string | Type () const |
std::string | Value () const |
bool | CanBeNull () const |
float | Tolerance () const |
void | SetName (std::string n) |
void | SetType (std::string t) |
void | SetValue (std::string v) |
void | SetCanBeNull (bool f) |
void | SetTolerance (float t) |
Private Attributes | |
bool | fCanBeNull |
float | fTolerance |
std::string | fType |
std::string | fName |
std::string | fValue |
Database Column Defintion Interface
Definition at line 17 of file ColumnDef.h.
ColumnDef::ColumnDef | ( | std::string | cname, |
std::string | ctype | ||
) |
Definition at line 13 of file ColumnDef.cpp.
ColumnDef::ColumnDef | ( | const dBColumn_t & | c | ) |
Definition at line 21 of file ColumnDef.cpp.
References fTolerance, fType, fValue, nova::dbi::dBColumn_t::getColType(), nova::dbi::dBColumn_t::getTolerance(), nova::dbi::dBColumn_t::getValue(), nova::dbi::dBColumn_t::hasColType(), nova::dbi::dBColumn_t::hasTolerance(), and nova::dbi::dBColumn_t::hasValue().
ColumnDef::~ColumnDef | ( | ) |
Definition at line 36 of file ColumnDef.cpp.
|
inline |
|
inline |
Definition at line 24 of file ColumnDef.h.
References fName.
Referenced by nova::dbi::Table::LoadNonValidityTable(), nova::dbi::Table::LoadValidityTable(), nova::dbi::Table::MakeValidityCSVString(), nova::dbi::Table::PrintColumns(), and nova::dbi::Table::SetValidityRange().
|
inline |
Definition at line 33 of file ColumnDef.h.
References MakeMiniprodValidationCuts::f, and fCanBeNull.
Referenced by nova::dbi::Table::Table().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 25 of file ColumnDef.h.
References fType.
Referenced by nova::dbi::Column::Column(), nova::dbi::Table::MakeValidityCSVString(), nova::dbi::Table::PrintColumns(), and nova::dbi::Table::SetValidityRange().
|
inline |
|
private |
Definition at line 37 of file ColumnDef.h.
Referenced by CanBeNull(), and SetCanBeNull().
|
private |
Definition at line 40 of file ColumnDef.h.
|
private |
Definition at line 38 of file ColumnDef.h.
Referenced by ColumnDef(), SetTolerance(), and Tolerance().
|
private |
Definition at line 39 of file ColumnDef.h.
Referenced by ColumnDef(), SetType(), and Type().
|
private |
Definition at line 41 of file ColumnDef.h.
Referenced by ColumnDef(), SetValue(), and Value().