Main Page
Namespaces
Classes
Package Documentation
src
CaloOnlineTools
HcalOnlineDb
interface
ConnectionManager.h
Go to the documentation of this file.
1
#ifndef ConnectionManager_hh_included
2
#define ConnectionManager_hh_included
3
4
#include <string>
5
6
namespace
oracle
{
7
namespace
occi {
8
class
Connection;
9
class
Environment;
10
class
Statement;
11
}
12
}
13
14
class
ConnectionManager
{
15
public
:
16
ConnectionManager
();
17
bool
connect
();
18
oracle::occi::Statement* getStatement(
const
std::string
&
query
);
19
void
disconnect();
20
private
:
21
oracle::occi::Environment *
env
;
22
oracle::occi::Connection *
conn
;
23
};
24
25
#endif
ConnectionManager::conn
oracle::occi::Connection * conn
Definition:
ConnectionManager.h:22
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ConnectionManager
Definition:
ConnectionManager.h:14
query
Definition:
query.py:1
oracle
Definition:
ConnectionManager.h:6
DBConfiguration_cff.connect
connect
Definition:
DBConfiguration_cff.py:18
ConnectionManager::env
oracle::occi::Environment * env
Definition:
ConnectionManager.h:21
Generated for CMSSW Reference Manual by
1.8.11