CMS 3D CMS Logo

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  } // namespace occi
12 } // namespace oracle
13 
15 public:
17  bool connect();
18  oracle::occi::Statement* getStatement(const std::string& query);
19  void disconnect();
20 
21 private:
22  oracle::occi::Environment* env;
23  oracle::occi::Connection* conn;
24 };
25 
26 #endif
ConnectionManager::disconnect
void disconnect()
Definition: ConnectionManager.cc:55
ConnectionManager::env
oracle::occi::Environment * env
Definition: ConnectionManager.h:22
query
Definition: query.py:1
ConnectionManager::getStatement
oracle::occi::Statement * getStatement(const std::string &query)
Definition: ConnectionManager.cc:50
ConnectionManager::connect
bool connect()
Definition: ConnectionManager.cc:20
ConnectionManager::ConnectionManager
ConnectionManager()
Definition: ConnectionManager.cc:9
oracle
Definition: ConnectionManager.h:6
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ConnectionManager
Definition: ConnectionManager.h:14
ConnectionManager::conn
oracle::occi::Connection * conn
Definition: ConnectionManager.h:23