Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
nutools
old
IFDatabase
ColumnDef.h
Go to the documentation of this file.
1
#ifndef __DBICOLUMNDEF_HPP_
2
#define __DBICOLUMNDEF_HPP_
3
4
#include <string>
5
6
namespace
nutools
{
7
namespace
dbi {
8
9
/**
10
* Database Column Defintion Interface
11
*
12
* @author Jonathan Paley
13
* @version $Id: ColumnDef.h,v 1.0 2014/07/02 19:53:02 jpaley Exp $
14
*/
15
class
ColumnDef
16
{
17
public
:
18
ColumnDef
(
std::string
cname,
std::string
ctype);
19
~ColumnDef
();
20
21
std::string
Name
()
const
{
return
fName
;}
22
std::string
Type
()
const
{
return
fType
;}
23
std::string
Value
()
const
{
return
fValue
;}
24
bool
CanBeNull
()
const
{
return
fCanBeNull
; }
25
float
Tolerance
()
const
{
return
fTolerance
; }
26
27
void
SetName
(
std::string
n
) {
fName
=
n
; }
28
void
SetType
(
std::string
t
) {
fType
=
t
; }
29
void
SetValue
(
std::string
v) {
fValue
= v; }
30
void
SetCanBeNull
(
bool
f
) {
fCanBeNull
=
f
;}
31
void
SetTolerance
(
float
t
) {
fTolerance
=
t
; }
32
33
private
:
34
bool
fCanBeNull
;
35
float
fTolerance
;
36
std::string
fType
;
37
std::string
fName
;
38
std::string
fValue
;
39
40
};
// class end
41
42
43
}
// namespace dbi close
44
}
// namespace nutools close
45
46
#endif
nutools::dbi::ColumnDef::fName
std::string fName
Definition:
ColumnDef.h:37
keras_to_tensorflow.f
f
Definition:
keras_to_tensorflow.py:162
generate_CCQE_events.t
t
Definition:
generate_CCQE_events.py:68
nutools::dbi::ColumnDef::SetName
void SetName(std::string n)
Definition:
ColumnDef.h:27
string
std::string string
Definition:
nybbler.cc:12
nutools
Simple service to provide a RunHistory configured to the right run.
Definition:
Column.cpp:14
nutools::dbi::ColumnDef::SetType
void SetType(std::string t)
Definition:
ColumnDef.h:28
nutools::dbi::ColumnDef::~ColumnDef
~ColumnDef()
Definition:
ColumnDef.cpp:14
nutools::dbi::ColumnDef::ColumnDef
ColumnDef(std::string cname, std::string ctype)
Definition:
ColumnDef.cpp:6
cet::n
std::void_t< T > n
Definition:
metaprogramming.h:28
nutools::dbi::ColumnDef::fType
std::string fType
Definition:
ColumnDef.h:36
nutools::dbi::ColumnDef::Type
std::string Type() const
Definition:
ColumnDef.h:22
nutools::dbi::ColumnDef::fValue
std::string fValue
Definition:
ColumnDef.h:38
nutools::dbi::ColumnDef::Name
std::string Name() const
Definition:
ColumnDef.h:21
nutools::dbi::ColumnDef::fTolerance
float fTolerance
Definition:
ColumnDef.h:35
nutools::dbi::ColumnDef::SetCanBeNull
void SetCanBeNull(bool f)
Definition:
ColumnDef.h:30
nutools::dbi::ColumnDef::CanBeNull
bool CanBeNull() const
Definition:
ColumnDef.h:24
nutools::dbi::ColumnDef::fCanBeNull
bool fCanBeNull
Definition:
ColumnDef.h:34
nutools::dbi::ColumnDef::Value
std::string Value() const
Definition:
ColumnDef.h:23
nutools::dbi::ColumnDef::Tolerance
float Tolerance() const
Definition:
ColumnDef.h:25
nutools::dbi::ColumnDef::SetTolerance
void SetTolerance(float t)
Definition:
ColumnDef.h:31
nutools::dbi::ColumnDef::SetValue
void SetValue(std::string v)
Definition:
ColumnDef.h:29
nutools::dbi::ColumnDef
Definition:
ColumnDef.h:15
Generated by
1.8.11