LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
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
nutools::dbi::ColumnDef::SetName
void SetName(std::string n)
Definition:
ColumnDef.h:27
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
f
TFile f
Definition:
plotHisto.C:6
nutools::dbi::ColumnDef::ColumnDef
ColumnDef(std::string cname, std::string ctype)
Definition:
ColumnDef.cpp:6
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
n
Char_t n[5]
Definition:
comparison_ascii.C:55
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
nutools
IFDatabase
ColumnDef.h
Generated on Thu Jul 26 2018 13:10:23 for LArSoft by
1.8.11