9#include "rdbModel/Management/Visitor.h"
49 Rdb() : m_connection( 0 ) {}
54 const std::string&
getCVSid() {
return m_CVSid; };
56 const std::string&
getDbName() {
return m_dbName; };
62 Column*
getColumn(
const std::string& tableName,
const std::string& colName )
const;
64 Index*
getIndex(
const std::string& tableName,
const std::string& indexName )
const;
66 unsigned int getNTable()
const {
return m_tables.size(); }
76 int insertRow(
const std::string& tName,
Row& row,
int* serial = 0 )
const;
85 int insertLatest(
const std::string& tName,
Row& row,
int* serial = 0 )
const;
87 int supersedeRow(
const std::string& tName,
Row& row,
int oldKey,
int* newKey = 0 )
const;
111 void setCVSid( std::string pcvs ) { m_CVSid = pcvs; };
113 void addTable(
Table*
t ) { m_tables.push_back(
t ); };
120 std::vector<Table*> m_tables;
123 std::string m_dbName;
125 unsigned m_majorVersion;
126 unsigned m_minorVersion;
130 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.