CMS 3D CMS Logo

IOVKeysDescription.h
Go to the documentation of this file.
1 #ifndef Cond_IOVKeysDescription_h
2 #define Cond_IOVKeysDescription_h
3 
6 #include <string>
7 
8 namespace cond {
9 
10  /*
11  * Describe the fixed set of keys to be used in a keylist
12  */
14  public:
16  explicit IOVKeysDescription(std::vector<std::string> const& idict, std::string const& itag)
17  : dict_m(idict), m_tag(itag) {}
18 
19  virtual ~IOVKeysDescription() {}
20  virtual IOVKeysDescription* clone() const { 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:
31 
33  };
34 
35 } // namespace cond
36 
37 #endif
std::string const & tag() const
IOVKeysDescription(std::vector< std::string > const &idict, std::string const &itag)
SmallWORMDict const & dict() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
Definition: plugin.cc:23
virtual IOVKeysDescription * clone() const