Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CondTools
RunInfo
interface
TestBase.h
Go to the documentation of this file.
1
#ifndef CondTools_RunInfo_TestBase_H
2
#define CondTools_RunInfo_TestBase_H
3
4
/*
5
* \class TestBase
6
*
7
* needed for using coral
8
*
9
*
10
*/
11
12
#include <string>
13
#include "CoralKernel/Context.h"
14
#include "CoralBase/MessageStream.h"
15
16
//#include "SealKernel/IMessageService.h"
17
18
namespace
coral {
19
class
IConnection;
20
class
ISession;
21
}
// namespace coral
22
23
class
TestBase
{
24
public
:
25
TestBase
();
26
virtual
~TestBase
();
27
virtual
void
run
() = 0;
28
void
setVerbosityLevel
(coral::MsgLevel
level
);
29
30
protected
:
31
coral::ISession*
connect
(
const
std::string
&
connectionString
,
const
std::string
&
user
,
const
std::string
& password);
32
33
private
:
34
//seal::Handle<seal::Context> m_context;
35
coral::IConnection*
m_connection
;
36
};
37
38
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TestBase::setVerbosityLevel
void setVerbosityLevel(coral::MsgLevel level)
Definition:
TestBase.cc:46
TestBase
Definition:
TestBase.h:21
TestBase::~TestBase
virtual ~TestBase()
Definition:
TestBase.cc:18
TestBase::m_connection
coral::IConnection * m_connection
Definition:
TestBase.h:32
TestBase::TestBase
TestBase()
Definition:
TestBase.cc:9
TestBase::run
virtual void run()=0
EnviromentSettings.user
string user
Definition:
EnviromentSettings.py:30
autoCondModifiers.connectionString
tuple connectionString
Definition:
autoCondModifiers.py:5
testEve_cfg.level
tuple level
Definition:
testEve_cfg.py:47
TestBase::connect
coral::ISession * connect(const std::string &connectionString, const std::string &user, const std::string &password)
Definition:
TestBase.cc:23
Generated for CMSSW Reference Manual by
1.8.5