CondFormats
Common
interface
IOVKeysDescription.h
Go to the documentation of this file.
1
#ifndef Cond_IOVKeysDescription_h
2
#define Cond_IOVKeysDescription_h
3
4
#include "
CondFormats/Common/interface/IOVDescription.h
"
5
#include "
CondFormats/Common/interface/SmallWORMDict.h
"
6
#include <string>
7
8
namespace
cond
{
9
10
/*
11
* Describe the fixed set of keys to be used in a keylist
12
*/
13
class
IOVKeysDescription
:
public
IOVDescription
{
14
public
:
15
IOVKeysDescription
() {}
16
explicit
IOVKeysDescription
(std::vector<std::string>
const
& idict,
std::string
const
& itag)
17
:
dict_m
(idict),
m_tag
(itag) {}
18
19
~IOVKeysDescription
()
override
{}
20
IOVKeysDescription
*
clone
()
const override
{
return
new
IOVKeysDescription
(*
this
); }
21
22
// the associated "tag"
23
std::string
const
&
tag
()
const
{
return
m_tag
; }
24
25
// the list of keys
26
SmallWORMDict
const
&
dict
()
const
{
return
dict_m
; }
27
28
private
:
29
SmallWORMDict
dict_m
;
30
std::string
m_tag
;
31
32
COND_SERIALIZABLE
;
33
};
34
35
}
// namespace cond
36
37
#endif
cond::IOVKeysDescription::~IOVKeysDescription
~IOVKeysDescription() override
Definition:
IOVKeysDescription.h:19
cond::IOVKeysDescription
Definition:
IOVKeysDescription.h:13
cond::IOVDescription
Definition:
IOVDescription.h:8
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
cond::IOVKeysDescription::dict_m
SmallWORMDict dict_m
Definition:
IOVKeysDescription.h:29
cond::IOVKeysDescription::clone
IOVKeysDescription * clone() const override
Definition:
IOVKeysDescription.h:20
SmallWORMDict.h
cond::IOVKeysDescription::dict
SmallWORMDict const & dict() const
Definition:
IOVKeysDescription.h:26
cond
Definition:
plugin.cc:23
cond::SmallWORMDict
Definition:
SmallWORMDict.h:25
cond::IOVKeysDescription::m_tag
std::string m_tag
Definition:
IOVKeysDescription.h:30
IOVDescription.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
cond::IOVKeysDescription::IOVKeysDescription
IOVKeysDescription(std::vector< std::string > const &idict, std::string const &itag)
Definition:
IOVKeysDescription.h:16
cond::IOVKeysDescription::IOVKeysDescription
IOVKeysDescription()
Definition:
IOVKeysDescription.h:15
cond::IOVKeysDescription::tag
std::string const & tag() const
Definition:
IOVKeysDescription.h:23
Generated for CMSSW Reference Manual by
1.8.16