Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CaloOnlineTools
HcalOnlineDb
interface
DBInterface.h
Go to the documentation of this file.
1
//
2
// Gena Kukartsev (Brown), Feb. 1, 2008
3
//
4
// inspired by Fedor Ratnikov's HcalDbOnline class
5
//
6
#ifndef DBInterface_h
7
#define DBInterface_h
8
9
#include <memory>
10
19
namespace
oracle {
20
namespace
occi {
21
class
Environment;
22
class
Connection;
23
class
Statement;
24
}
25
}
26
27
class
DBInterface
{
28
public
:
29
30
DBInterface
(
const
std::string
& fDb,
bool
fVerbose =
false
);
31
~DBInterface
();
32
33
protected
:
34
oracle::occi::Environment*
mEnvironment
;
35
oracle::occi::Connection*
mConnect
;
36
oracle::occi::Statement*
mStatement
;
37
template
<
class
T>
bool
getObjectGeneric
(
T
* fObject,
const
std::string
& fTag);
38
bool
mVerbose
;
39
};
40
#endif
DBInterface::mVerbose
bool mVerbose
Definition:
DBInterface.h:38
DBInterface::mStatement
oracle::occi::Statement * mStatement
Definition:
DBInterface.h:36
DBInterface::getObjectGeneric
bool getObjectGeneric(T *fObject, const std::string &fTag)
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DBInterface
Gather data from DB.
Definition:
DBInterface.h:27
DBInterface::DBInterface
DBInterface(const std::string &fDb, bool fVerbose=false)
Definition:
DBInterface.cc:16
DBInterface::mConnect
oracle::occi::Connection * mConnect
Definition:
DBInterface.h:35
DBInterface::mEnvironment
oracle::occi::Environment * mEnvironment
Definition:
DBInterface.h:34
T
long double T
Definition:
Basic3DVectorLD.h:57
DBInterface::~DBInterface
~DBInterface()
Definition:
DBInterface.cc:44
Generated for CMSSW Reference Manual by
1.8.5