8#include "rdbModel/Management/Visitor.h"
48 Rdb() : m_connection(0) { }
54 const std::string&
getCVSid(){
return m_CVSid;};
63 const std::string& colName)
const;
66 const std::string& indexName)
const;
68 unsigned int getNTable()
const {
return m_tables.size();}
78 int insertRow(
const std::string& tName,
Row& row,
int* serial=0)
const;
87 int insertLatest(
const std::string& tName,
Row& row,
int* serial=0)
const;
115 void setCVSid(std::string pcvs){m_CVSid = pcvs;};
117 void addTable(
Table*
t){m_tables.push_back(
t);};
124 std::vector<Table* > m_tables;
127 std::string m_dbName;
129 unsigned m_majorVersion;
130 unsigned m_minorVersion;
134 Connection* m_connection;
**********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
const std::string & getDbName()
int supersedeRow(const std::string &tName, Row &row, int oldKey, int *newKey=0) const
Table * getTable(const std::string &name) const
unsigned getMinorVersion()
unsigned int getNTable() const
int insertLatest(Table *t, Row &row, int *serial=0) const
Index * getIndex(const std::string &tableName, const std::string &indexName) const
void setConnection(Connection *connection)
int updateRows(const std::string &tName, Row &row, Assertion *where) const
unsigned getMajorVersion()
Column * getColumn(const std::string &tableName, const std::string &colName) const
int insertRow(const std::string &tName, Row &row, int *serial=0) const
const std::string & getCVSid()
unsigned int accept(Visitor *v)
This is the recursive accept for the visitor pattern.