CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  ~IOVKeysDescription() override {}
20  IOVKeysDescription* clone() const override { 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
IOVKeysDescription * clone() const override
#define COND_SERIALIZABLE
Definition: Serializable.h:39