CondFormats
Common
interface
DropBoxMetadata.h
Go to the documentation of this file.
1
#ifndef CondFormatsCommon_DropBoxMetadata_H
2
#define CondFormatsCommon_DropBoxMetadata_H
3
12
#include "
CondFormats/Serialization/interface/Serializable.h
"
13
14
#include <map>
15
#include <string>
16
17
class
DropBoxMetadata
{
18
public
:
20
DropBoxMetadata
();
21
23
virtual
~DropBoxMetadata
();
24
25
class
Parameters
{
26
public
:
27
void
addParameter
(
const
std::string
&
key
,
const
std::string
& vale);
28
29
std::string
getParameter
(
const
std::string
&
key
)
const
;
30
31
const
std::map<std::string, std::string>&
getParameterMap
()
const
;
32
33
private
:
34
std::map<std::string, std::string>
theParameters
;
35
36
COND_SERIALIZABLE
;
37
};
38
39
// Operations
40
void
addRecordParameters
(
const
std::string
&
record
,
const
Parameters
&
params
);
41
42
const
Parameters
&
getRecordParameters
(
const
std::string
&
record
)
const
;
43
44
bool
knowsRecord
(
const
std::string
&
record
)
const
;
45
46
const
std::vector<std::string>
getAllRecords
()
const
;
47
48
protected
:
49
private
:
50
std::map<std::string, DropBoxMetadata::Parameters>
recordSet
;
51
52
COND_SERIALIZABLE
;
53
};
54
#endif
crabWrapper.key
key
Definition:
crabWrapper.py:19
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DropBoxMetadata::getRecordParameters
const Parameters & getRecordParameters(const std::string &record) const
Definition:
DropBoxMetadata.cc:37
DropBoxMetadata::Parameters::getParameter
std::string getParameter(const std::string &key) const
Definition:
DropBoxMetadata.cc:22
DropBoxMetadata::Parameters
Definition:
DropBoxMetadata.h:25
DropBoxMetadata::Parameters::theParameters
std::map< std::string, std::string > theParameters
Definition:
DropBoxMetadata.h:34
DropBoxMetadata
Definition:
DropBoxMetadata.h:17
DropBoxMetadata::getAllRecords
const std::vector< std::string > getAllRecords() const
Definition:
DropBoxMetadata.cc:48
DropBoxMetadata::Parameters::addParameter
void addParameter(const std::string &key, const std::string &vale)
Definition:
DropBoxMetadata.cc:20
DropBoxMetadata::Parameters::getParameterMap
const std::map< std::string, std::string > & getParameterMap() const
Definition:
DropBoxMetadata.cc:31
submitPVValidationJobs.params
def params
Definition:
submitPVValidationJobs.py:482
DropBoxMetadata::knowsRecord
bool knowsRecord(const std::string &record) const
Definition:
DropBoxMetadata.cc:41
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
AlCaHarvesting_cff.record
record
Definition:
AlCaHarvesting_cff.py:48
DropBoxMetadata::recordSet
std::map< std::string, DropBoxMetadata::Parameters > recordSet
Definition:
DropBoxMetadata.h:50
DropBoxMetadata::addRecordParameters
void addRecordParameters(const std::string &record, const Parameters ¶ms)
Definition:
DropBoxMetadata.cc:33
DropBoxMetadata::~DropBoxMetadata
virtual ~DropBoxMetadata()
Destructor.
Definition:
DropBoxMetadata.cc:18
Serializable.h
DropBoxMetadata::DropBoxMetadata
DropBoxMetadata()
Constructor.
Definition:
DropBoxMetadata.cc:16
Generated for CMSSW Reference Manual by
1.8.14