#include <DatabaseRecord.h>
Definition at line 9 of file DatabaseRecord.h.
◆ DatabaseRecord()
DatabaseRecord::DatabaseRecord |
( |
| ) |
|
|
inline |
◆ ~DatabaseRecord()
DatabaseRecord::~DatabaseRecord |
( |
| ) |
|
|
inline |
◆ clear()
void DatabaseRecord::clear |
( |
| ) |
|
|
inline |
◆ DeleteObject()
void DatabaseRecord::DeleteObject |
( |
| ) |
|
|
inline |
Definition at line 23 of file DatabaseRecord.h.
24 {
25 DatabaseRecord::iterator it;
26 for(it=this->begin(); it != this->end(); it++)
27 {
28 if((*it).second!=NULL)
29 {
30 delete[] (*it).second;
31 (*it).second = NULL;
32 }
33 }
34 erase(this->begin(),this->end());
35 }
Referenced by clear(), and ~DatabaseRecord().
◆ GetDouble()
double DatabaseRecord::GetDouble |
( |
std::string | key | ) |
|
|
inline |
Definition at line 46 of file DatabaseRecord.h.
47 {
48 DatabaseRecord::iterator it = find(
key);
49 if(it==end())
50 return 0;
51 return atof((*it).second);
52 }
*************DOUBLE PRECISION m_pi *DOUBLE PRECISION m_HvecTau2 DOUBLE PRECISION m_HvClone2 DOUBLE PRECISION m_gamma1 DOUBLE PRECISION m_gamma2 DOUBLE PRECISION m_thet1 DOUBLE PRECISION m_thet2 INTEGER m_IFPHOT *COMMON c_Taupair $ !Spin Polarimeter vector first Tau $ !Spin Polarimeter vector second Tau $ !Clone Spin Polarimeter vector first Tau $ !Clone Spin Polarimeter vector second Tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !phi of HvecTau1 $ !theta of HvecTau1 $ !phi of HvecTau2 $ !theta of HvecTau2 $ !super key
Referenced by BeamEnergySvc::getBeamEnergyInfo(), FieldDBUtil::ConnectionDB::getReadSC_MagnetInfo(), and TestDbAlg::initialize().
◆ GetInt()
int DatabaseRecord::GetInt |
( |
std::string | key | ) |
|
|
inline |
◆ GetLong()
long DatabaseRecord::GetLong |
( |
std::string | key | ) |
|
|
inline |
◆ GetString()
std::string DatabaseRecord::GetString |
( |
std::string | key | ) |
|
|
inline |
The documentation for this class was generated from the following file: