CMS 3D CMS Logo

DropBoxMetadata.h
Go to the documentation of this file.
1 #ifndef CondFormatsCommon_DropBoxMetadata_H
2 #define CondFormatsCommon_DropBoxMetadata_H
3 
13 
14 #include <map>
15 #include <string>
16 
18 public:
21 
23  virtual ~DropBoxMetadata();
24 
25  class Parameters {
26  public:
27  void addParameter(const std::string& key, const std::string& vale);
28 
30 
31  const std::map<std::string, std::string>& getParameterMap() const;
32 
33  private:
34  std::map<std::string, std::string> theParameters;
35 
37  };
38 
39  // Operations
41 
42  const Parameters& getRecordParameters(const std::string& record) const;
43 
44  bool knowsRecord(const std::string& record) const;
45 
46 protected:
47 private:
48  std::map<std::string, DropBoxMetadata::Parameters> recordSet;
49 
51 };
52 #endif
DropBoxMetadata::recordSet
std::map< std::string, DropBoxMetadata::Parameters > recordSet
Definition: DropBoxMetadata.h:48
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
DropBoxMetadata::knowsRecord
bool knowsRecord(const std::string &record) const
Definition: DropBoxMetadata.cc:40
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
DropBoxMetadata::~DropBoxMetadata
virtual ~DropBoxMetadata()
Destructor.
Definition: DropBoxMetadata.cc:17
DropBoxMetadata::Parameters::getParameter
std::string getParameter(const std::string &key) const
Definition: DropBoxMetadata.cc:21
DropBoxMetadata::addRecordParameters
void addRecordParameters(const std::string &record, const Parameters &params)
Definition: DropBoxMetadata.cc:32
DropBoxMetadata::DropBoxMetadata
DropBoxMetadata()
Constructor.
Definition: DropBoxMetadata.cc:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DropBoxMetadata::Parameters::theParameters
std::map< std::string, std::string > theParameters
Definition: DropBoxMetadata.h:34
DropBoxMetadata
Definition: DropBoxMetadata.h:17
Serializable.h
DropBoxMetadata::Parameters::addParameter
void addParameter(const std::string &key, const std::string &vale)
Definition: DropBoxMetadata.cc:19
DropBoxMetadata::Parameters::getParameterMap
const std::map< std::string, std::string > & getParameterMap() const
Definition: DropBoxMetadata.cc:30
DropBoxMetadata::getRecordParameters
const Parameters & getRecordParameters(const std::string &record) const
Definition: DropBoxMetadata.cc:36
DropBoxMetadata::Parameters
Definition: DropBoxMetadata.h:25
crabWrapper.key
key
Definition: crabWrapper.py:19