#include <Column.h>
|
| enum | FROM {
FROMdefault = 1
, FROMautoIncrement
, FROMnow
, FROMprogram
,
FROMendUser
, FROMdefault = 1
, FROMautoIncrement
, FROMnow
,
FROMprogram
, FROMendUser
, FROMdefault = 1
, FROMautoIncrement
,
FROMnow
, FROMprogram
, FROMendUser
} |
| enum | CONTENTS {
CONTENTSunspecified = 0
, CONTENTSserviceName = 1
, CONTENTSusername = 2
, CONTENTSinsertTime = 3
,
CONTENTSupdateTime = 4
, CONTENTSunspecified = 0
, CONTENTSserviceName = 1
, CONTENTSusername = 2
,
CONTENTSinsertTime = 3
, CONTENTSupdateTime = 4
, CONTENTSunspecified = 0
, CONTENTSserviceName = 1
,
CONTENTSusername = 2
, CONTENTSinsertTime = 3
, CONTENTSupdateTime = 4
} |
| | Hints to program in case FROM field is FROMprogram. More...
|
| enum | FROM {
FROMdefault = 1
, FROMautoIncrement
, FROMnow
, FROMprogram
,
FROMendUser
, FROMdefault = 1
, FROMautoIncrement
, FROMnow
,
FROMprogram
, FROMendUser
, FROMdefault = 1
, FROMautoIncrement
,
FROMnow
, FROMprogram
, FROMendUser
} |
| enum | CONTENTS {
CONTENTSunspecified = 0
, CONTENTSserviceName = 1
, CONTENTSusername = 2
, CONTENTSinsertTime = 3
,
CONTENTSupdateTime = 4
, CONTENTSunspecified = 0
, CONTENTSserviceName = 1
, CONTENTSusername = 2
,
CONTENTSinsertTime = 3
, CONTENTSupdateTime = 4
, CONTENTSunspecified = 0
, CONTENTSserviceName = 1
,
CONTENTSusername = 2
, CONTENTSinsertTime = 3
, CONTENTSupdateTime = 4
} |
| | Hints to program in case FROM field is FROMprogram. More...
|
| enum | FROM {
FROMdefault = 1
, FROMautoIncrement
, FROMnow
, FROMprogram
,
FROMendUser
, FROMdefault = 1
, FROMautoIncrement
, FROMnow
,
FROMprogram
, FROMendUser
, FROMdefault = 1
, FROMautoIncrement
,
FROMnow
, FROMprogram
, FROMendUser
} |
| enum | CONTENTS {
CONTENTSunspecified = 0
, CONTENTSserviceName = 1
, CONTENTSusername = 2
, CONTENTSinsertTime = 3
,
CONTENTSupdateTime = 4
, CONTENTSunspecified = 0
, CONTENTSserviceName = 1
, CONTENTSusername = 2
,
CONTENTSinsertTime = 3
, CONTENTSupdateTime = 4
, CONTENTSunspecified = 0
, CONTENTSserviceName = 1
,
CONTENTSusername = 2
, CONTENTSinsertTime = 3
, CONTENTSupdateTime = 4
} |
| | Hints to program in case FROM field is FROMprogram. More...
|
rdbModel representation of a(n SQL-like) table description
Definition at line 22 of file Calibration/rdbModel/include/rdbModel/Tables/Column.h.
◆ CONTENTS [1/3]
Hints to program in case FROM field is FROMprogram.
| Enumerator |
|---|
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
Definition at line 38 of file Calibration/rdbModel/include/rdbModel/Tables/Column.h.
◆ CONTENTS [2/3]
Hints to program in case FROM field is FROMprogram.
| Enumerator |
|---|
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
Definition at line 38 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Column.h.
◆ CONTENTS [3/3]
Hints to program in case FROM field is FROMprogram.
| Enumerator |
|---|
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
| CONTENTSunspecified | |
| CONTENTSserviceName | |
| CONTENTSusername | |
| CONTENTSinsertTime | |
| CONTENTSupdateTime | |
Definition at line 38 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Column.h.
◆ FROM [1/3]
Source of value. Note timestamp with value current time should be indicated by contents value CONTENTSupdateTime or (if only upon insert) CONTENTS enterTime
| Enumerator |
|---|
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
Definition at line 29 of file Calibration/rdbModel/include/rdbModel/Tables/Column.h.
◆ FROM [2/3]
Source of value. Note timestamp with value current time should be indicated by contents value CONTENTSupdateTime or (if only upon insert) CONTENTS enterTime
| Enumerator |
|---|
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
Definition at line 29 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Column.h.
◆ FROM [3/3]
Source of value. Note timestamp with value current time should be indicated by contents value CONTENTSupdateTime or (if only upon insert) CONTENTS enterTime
| Enumerator |
|---|
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
| FROMdefault | |
| FROMautoIncrement | |
| FROMnow | |
| FROMprogram | |
| FROMendUser | |
Definition at line 29 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Column.h.
◆ Column() [1/3]
| rdbModel::Column::Column |
( |
Table * | myTable = 0 | ) |
|
|
inline |
◆ ~Column() [1/3]
| rdbModel::Column::~Column |
( |
| ) |
|
◆ Column() [2/3]
| rdbModel::Column::Column |
( |
Table * | myTable = 0 | ) |
|
|
inline |
◆ ~Column() [2/3]
| rdbModel::Column::~Column |
( |
| ) |
|
◆ Column() [3/3]
| rdbModel::Column::Column |
( |
Table * | myTable = 0 | ) |
|
|
inline |
◆ ~Column() [3/3]
| rdbModel::Column::~Column |
( |
| ) |
|
◆ accept() [1/3]
Definition at line 50 of file Column.cxx.
50 {
51
54 return state;
55 }
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
◆ accept() [2/3]
◆ accept() [3/3]
◆ getComment() [1/3]
| const std::string & rdbModel::Column::getComment |
( |
| ) |
const |
|
inline |
◆ getComment() [2/3]
| const std::string & rdbModel::Column::getComment |
( |
| ) |
const |
|
inline |
◆ getComment() [3/3]
| const std::string & rdbModel::Column::getComment |
( |
| ) |
const |
|
inline |
◆ getContentsType() [1/3]
| CONTENTS rdbModel::Column::getContentsType |
( |
| ) |
const |
|
inline |
◆ getContentsType() [2/3]
| CONTENTS rdbModel::Column::getContentsType |
( |
| ) |
const |
|
inline |
◆ getContentsType() [3/3]
| CONTENTS rdbModel::Column::getContentsType |
( |
| ) |
const |
|
inline |
◆ getDatatype() [1/3]
| Datatype * rdbModel::Column::getDatatype |
( |
| ) |
const |
|
inline |
◆ getDatatype() [2/3]
| Datatype * rdbModel::Column::getDatatype |
( |
| ) |
const |
|
inline |
◆ getDatatype() [3/3]
| Datatype * rdbModel::Column::getDatatype |
( |
| ) |
const |
|
inline |
◆ getDefault() [1/3]
| const std::string & rdbModel::Column::getDefault |
( |
| ) |
const |
|
inline |
◆ getDefault() [2/3]
| const std::string & rdbModel::Column::getDefault |
( |
| ) |
const |
|
inline |
◆ getDefault() [3/3]
| const std::string & rdbModel::Column::getDefault |
( |
| ) |
const |
|
inline |
◆ getEnum() [1/3]
| Enum * rdbModel::Column::getEnum |
( |
| ) |
const |
Return pointer to Enum object associated with this column (if none, return null pointer).
Definition at line 14 of file Column.cxx.
14{ return m_type->getEnum(); }
◆ getEnum() [2/3]
| Enum * rdbModel::Column::getEnum |
( |
| ) |
const |
Return pointer to Enum object associated with this column (if none, return null pointer).
◆ getEnum() [3/3]
| Enum * rdbModel::Column::getEnum |
( |
| ) |
const |
Return pointer to Enum object associated with this column (if none, return null pointer).
◆ getName() [1/3]
| const std::string & rdbModel::Column::getName |
( |
| ) |
const |
|
inline |
◆ getName() [2/3]
| const std::string & rdbModel::Column::getName |
( |
| ) |
const |
|
inline |
◆ getName() [3/3]
| const std::string & rdbModel::Column::getName |
( |
| ) |
const |
|
inline |
◆ getSourceType() [1/3]
| FROM rdbModel::Column::getSourceType |
( |
| ) |
const |
|
inline |
◆ getSourceType() [2/3]
| FROM rdbModel::Column::getSourceType |
( |
| ) |
const |
|
inline |
◆ getSourceType() [3/3]
| FROM rdbModel::Column::getSourceType |
( |
| ) |
const |
|
inline |
◆ getTableName() [1/3]
| const std::string & rdbModel::Column::getTableName |
( |
| ) |
const |
Definition at line 16 of file Column.cxx.
16{ return m_myTable->getName(); }
◆ getTableName() [2/3]
| const std::string & rdbModel::Column::getTableName |
( |
| ) |
const |
◆ getTableName() [3/3]
| const std::string & rdbModel::Column::getTableName |
( |
| ) |
const |
◆ interpret() [1/3]
| bool rdbModel::Column::interpret |
( |
const std::string & | interpType, |
|
|
std::string & | val ) |
Handle special literal values, depending loosely on column datatype. Most Column objects won't do any interpretation, but, for example, timestamp-like columns may substitute for "NOW" Return true if any substitution was done
Definition at line 35 of file Column.cxx.
35 {
36
37
38
39 if ( interpType.compare( std::string( "time" ) ) != 0 ) return false;
40
43 { return false; }
44 if ( val.compare( std::string( "NOW" ) ) != 0 ) return false;
45
46 val = facilities::Timestamp().getString();
47 return true;
48 }
Referenced by rdbModel::Table::supersedeRow().
◆ interpret() [2/3]
| bool rdbModel::Column::interpret |
( |
const std::string & | interpType, |
|
|
std::string & | val ) |
Handle special literal values, depending loosely on column datatype. Most Column objects won't do any interpretation, but, for example, timestamp-like columns may substitute for "NOW" Return true if any substitution was done
◆ interpret() [3/3]
| bool rdbModel::Column::interpret |
( |
const std::string & | interpType, |
|
|
std::string & | val ) |
Handle special literal values, depending loosely on column datatype. Most Column objects won't do any interpretation, but, for example, timestamp-like columns may substitute for "NOW" Return true if any substitution was done
◆ isAutoIncrement() [1/3]
| bool rdbModel::Column::isAutoIncrement |
( |
| ) |
const |
◆ isAutoIncrement() [2/3]
| bool rdbModel::Column::isAutoIncrement |
( |
| ) |
const |
◆ isAutoIncrement() [3/3]
| bool rdbModel::Column::isAutoIncrement |
( |
| ) |
const |
◆ isCompatible() [1/3]
| bool rdbModel::Column::isCompatible |
( |
const Column * | otherCol | ) |
const |
◆ isCompatible() [2/3]
| bool rdbModel::Column::isCompatible |
( |
const Column * | otherCol | ) |
const |
Return true if otherCol and this have compatible datatypes.
◆ isCompatible() [3/3]
| bool rdbModel::Column::isCompatible |
( |
const Column * | otherCol | ) |
const |
Return true if otherCol and this have compatible datatypes.
◆ isPrimaryKey() [1/3]
| bool rdbModel::Column::isPrimaryKey |
( |
| ) |
const |
|
inline |
◆ isPrimaryKey() [2/3]
| bool rdbModel::Column::isPrimaryKey |
( |
| ) |
const |
|
inline |
◆ isPrimaryKey() [3/3]
| bool rdbModel::Column::isPrimaryKey |
( |
| ) |
const |
|
inline |
◆ nullAllowed() [1/3]
| bool rdbModel::Column::nullAllowed |
( |
| ) |
const |
|
inline |
◆ nullAllowed() [2/3]
| bool rdbModel::Column::nullAllowed |
( |
| ) |
const |
|
inline |
◆ nullAllowed() [3/3]
| bool rdbModel::Column::nullAllowed |
( |
| ) |
const |
|
inline |
◆ okValue() [1/3]
| bool rdbModel::Column::okValue |
( |
const std::string & | val, |
|
|
bool | set = true ) const |
◆ okValue() [2/3]
| bool rdbModel::Column::okValue |
( |
const std::string & | val, |
|
|
bool | set = true ) const |
See if supplied value meets constraints of column definition
- val std::string representation of value to be checked
- set true if value is to be written to column; false if just being used, e.g. in "where" clause
◆ okValue() [3/3]
| bool rdbModel::Column::okValue |
( |
const std::string & | val, |
|
|
bool | set = true ) const |
See if supplied value meets constraints of column definition
- val std::string representation of value to be checked
- set true if value is to be written to column; false if just being used, e.g. in "where" clause
◆ stickyInsert() [1/3]
| bool rdbModel::Column::stickyInsert |
( |
| ) |
const |
|
inline |
◆ stickyInsert() [2/3]
| bool rdbModel::Column::stickyInsert |
( |
| ) |
const |
|
inline |
◆ stickyInsert() [3/3]
| bool rdbModel::Column::stickyInsert |
( |
| ) |
const |
|
inline |
◆ rdbModel::XercesBuilder
The documentation for this class was generated from the following files: