CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IOVKeysDescription.h
Go to the documentation of this file.
1 #ifndef Cond_IOVKeysDescription_h
2 #define Cond_IOVKeysDescription_h
3 
5 
7 #include <string>
8 
9 namespace cond {
10 
11  /*
12  * Describe the fixed set of keys to be used in a keylist
13  */
15  public:
17  explicit IOVKeysDescription(std::vector<std::string> const & idict, std::string const & itag) :
18  dict_m(idict), m_tag(itag){}
19 
20  virtual ~IOVKeysDescription(){}
21  virtual IOVKeysDescription * clone() const { return new IOVKeysDescription(*this);}
22 
23  // the associated "tag"
24  std::string const & tag() const { return m_tag; }
25 
26 
27  // the list of keys
28  SmallWORMDict const & dict() const { return dict_m;}
29 
30  private:
33 
34 
36 };
37 
38 
39 }
40 
41 #endif
std::string const & tag() const
IOVKeysDescription(std::vector< std::string > const &idict, std::string const &itag)
SmallWORMDict const & dict() const
virtual IOVKeysDescription * clone() const