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  const std::vector<std::string> getAllRecords() const;
47 
48 protected:
49 private:
50  std::map<std::string, DropBoxMetadata::Parameters> recordSet;
51 
53 };
54 #endif
const Parameters & getRecordParameters(const std::string &record) const
std::string getParameter(const std::string &key) const
std::map< std::string, std::string > theParameters
key
prepare the HTCondor submission files and eventually submit them
const std::vector< std::string > getAllRecords() const
void addParameter(const std::string &key, const std::string &vale)
const std::map< std::string, std::string > & getParameterMap() const
bool knowsRecord(const std::string &record) const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::map< std::string, DropBoxMetadata::Parameters > recordSet
void addRecordParameters(const std::string &record, const Parameters &params)
virtual ~DropBoxMetadata()
Destructor.
DropBoxMetadata()
Constructor.