LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ColumnDef.h"
Public Member Functions | |
ColumnDef (std::string cname, std::string ctype) | |
~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 15 of file ColumnDef.h.
nutools::dbi::ColumnDef::ColumnDef | ( | std::string | cname, |
std::string | ctype | ||
) |
Definition at line 6 of file ColumnDef.cpp.
nutools::dbi::ColumnDef::~ColumnDef | ( | ) |
Definition at line 14 of file ColumnDef.cpp.
|
inline |
|
inline |
Definition at line 21 of file ColumnDef.h.
References fName.
Referenced by nutools::dbi::Table::LoadConditionsTable(), nutools::dbi::Table::LoadNonConditionsTable(), nutools::dbi::Table::MakeConditionsCSVString(), nutools::dbi::Table::PrintColumns(), and nutools::dbi::Table::SetValidityRange().
|
inline |
Definition at line 30 of file ColumnDef.h.
References f, and fCanBeNull.
Referenced by nutools::dbi::Table::GetColsFromDB().
|
inline |
Definition at line 27 of file ColumnDef.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 22 of file ColumnDef.h.
References fType.
Referenced by nutools::dbi::Column::Column(), nutools::dbi::Table::MakeConditionsCSVString(), nutools::dbi::Table::PrintColumns(), and nutools::dbi::Table::SetValidityRange().
|
inline |
|
private |
Definition at line 34 of file ColumnDef.h.
Referenced by CanBeNull(), and SetCanBeNull().
|
private |
Definition at line 37 of file ColumnDef.h.
|
private |
Definition at line 35 of file ColumnDef.h.
Referenced by SetTolerance(), and Tolerance().
|
private |
Definition at line 36 of file ColumnDef.h.
|
private |
Definition at line 38 of file ColumnDef.h.
Referenced by SetValue(), and Value().