Public Member Functions | Private Attributes | List of all members
nutools::dbi::ColumnDef Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/nuevdb/v1_02_05_01/source/nuevdb/IFDatabase/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
 

Detailed Description

Database Column Defintion Interface

Author
Jonathan Paley
Version
Id
ColumnDef.h,v 1.0 2014/07/02 19:53:02 jpaley Exp

Definition at line 15 of file ColumnDef.h.

Constructor & Destructor Documentation

ColumnDef::ColumnDef ( std::string  cname,
std::string  ctype 
)

Definition at line 6 of file ColumnDef.cpp.

6  :
7  fCanBeNull(true),fTolerance(0.),fType(ctype),fName(cname),fValue("")
8  {
9 
10  }
std::string fValue
Definition: ColumnDef.h:38
ColumnDef::~ColumnDef ( )

Definition at line 14 of file ColumnDef.cpp.

15  {
16 
17  }

Member Function Documentation

bool nutools::dbi::ColumnDef::CanBeNull ( ) const
inline

Definition at line 24 of file ColumnDef.h.

References fCanBeNull.

24 { return fCanBeNull; }
std::string nutools::dbi::ColumnDef::Name ( void  ) const
inline
void nutools::dbi::ColumnDef::SetCanBeNull ( bool  f)
inline
void nutools::dbi::ColumnDef::SetName ( std::string  n)
inline

Definition at line 27 of file ColumnDef.h.

References fName.

27 { fName = n; }
std::void_t< T > n
void nutools::dbi::ColumnDef::SetTolerance ( float  t)
inline

Definition at line 31 of file ColumnDef.h.

References fTolerance, and confusionMatrixTree::t.

void nutools::dbi::ColumnDef::SetType ( std::string  t)
inline

Definition at line 28 of file ColumnDef.h.

References fType, and confusionMatrixTree::t.

void nutools::dbi::ColumnDef::SetValue ( std::string  v)
inline

Definition at line 29 of file ColumnDef.h.

References fValue, and registry_explorer::v.

float nutools::dbi::ColumnDef::Tolerance ( ) const
inline

Definition at line 25 of file ColumnDef.h.

References fTolerance.

25 { return fTolerance; }
std::string nutools::dbi::ColumnDef::Type ( ) const
inline
std::string nutools::dbi::ColumnDef::Value ( ) const
inline

Definition at line 23 of file ColumnDef.h.

References fValue.

23 { return fValue;}
std::string fValue
Definition: ColumnDef.h:38

Member Data Documentation

bool nutools::dbi::ColumnDef::fCanBeNull
private

Definition at line 34 of file ColumnDef.h.

Referenced by CanBeNull(), and SetCanBeNull().

std::string nutools::dbi::ColumnDef::fName
private

Definition at line 37 of file ColumnDef.h.

Referenced by Name(), and SetName().

float nutools::dbi::ColumnDef::fTolerance
private

Definition at line 35 of file ColumnDef.h.

Referenced by SetTolerance(), and Tolerance().

std::string nutools::dbi::ColumnDef::fType
private

Definition at line 36 of file ColumnDef.h.

Referenced by SetType(), and Type().

std::string nutools::dbi::ColumnDef::fValue
private

Definition at line 38 of file ColumnDef.h.

Referenced by SetValue(), and Value().


The documentation for this class was generated from the following files: