Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
Common
interface
DropBoxMetadata.h
Go to the documentation of this file.
1
#ifndef CondFormatsCommon_DropBoxMetadata_H
2
#define CondFormatsCommon_DropBoxMetadata_H
3
13
#include <map>
14
#include <string>
15
16
class
DropBoxMetadata
{
17
public
:
19
DropBoxMetadata
();
20
22
virtual
~DropBoxMetadata
();
23
24
25
class
Parameters
{
26
public
:
27
28
void
addParameter
(
const
std::string&
key
,
const
std::string& vale);
29
30
std::string
getParameter
(
const
std::string& key)
const
;
31
32
const
std::map<std::string, std::string> &
getParameterMap
()
const
;
33
34
private
:
35
36
std::map<std::string, std::string>
theParameters
;
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
protected
:
47
48
private
:
49
std::map<std::string, DropBoxMetadata::Parameters>
recordSet
;
50
51
};
52
#endif
53
record
JetCorrectorParameters::Record record
Definition:
classes.h:11
DropBoxMetadata::knowsRecord
bool knowsRecord(const std::string &record) const
Definition:
DropBoxMetadata.cc:49
DropBoxMetadata::Parameters::getParameter
std::string getParameter(const std::string &key) const
Definition:
DropBoxMetadata.cc:25
DropBoxMetadata::Parameters
Definition:
DropBoxMetadata.h:25
DropBoxMetadata::Parameters::theParameters
std::map< std::string, std::string > theParameters
Definition:
DropBoxMetadata.h:36
DropBoxMetadata::Parameters::getParameterMap
const std::map< std::string, std::string > & getParameterMap() const
Definition:
DropBoxMetadata.cc:34
DropBoxMetadata
Definition:
DropBoxMetadata.h:16
DropBoxMetadata::Parameters::addParameter
void addParameter(const std::string &key, const std::string &vale)
Definition:
DropBoxMetadata.cc:21
combine.key
list key
Definition:
combine.py:13
DropBoxMetadata::recordSet
std::map< std::string, DropBoxMetadata::Parameters > recordSet
Definition:
DropBoxMetadata.h:49
DropBoxMetadata::addRecordParameters
void addRecordParameters(const std::string &record, const Parameters ¶ms)
Definition:
DropBoxMetadata.cc:41
DropBoxMetadata::~DropBoxMetadata
virtual ~DropBoxMetadata()
Destructor.
Definition:
DropBoxMetadata.cc:18
DropBoxMetadata::getRecordParameters
const Parameters & getRecordParameters(const std::string &record) const
Definition:
DropBoxMetadata.cc:45
DropBoxMetadata::DropBoxMetadata
DropBoxMetadata()
Constructor.
Definition:
DropBoxMetadata.cc:16
Generated for CMSSW Reference Manual by
1.8.5