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 
26  // the list of keys
27  SmallWORMDict const & dict() const { return dict_m;}
28 
29  private:
32 
33 
35 };
36 
37 
38 }
39 
40 #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:24
virtual IOVKeysDescription * clone() const