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 #include <string>
6 
7 namespace cond {
8 
9  /*
10  * Describe the fixed set of keys to be used in a keylist
11  */
13  public:
15  explicit IOVKeysDescription(std::vector<std::string> const & idict, std::string const & itag) :
16  dict_m(idict), m_tag(itag){}
17 
18  virtual ~IOVKeysDescription(){}
19  virtual IOVKeysDescription * clone() const { return new IOVKeysDescription(*this);}
20 
21  // the associated "tag"
22  std::string const & tag() const { return m_tag; }
23 
24 
25  // the list of keys
26  SmallWORMDict const & dict() const { return dict_m;}
27 
28  private:
31 
32  };
33 
34 
35 }
36 
37 #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