Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondFormats
Common
interface
BaseKeyed.h
Go to the documentation of this file.
1
#ifndef Cond_BaseKeyed_h
2
#define Cond_BaseKeyed_h
3
4
#include <string>
5
6
/* A Simple base class to avoid useless templates and infinite declaration of
7
* wrappers in dictionaries
8
*/
9
10
namespace
cond {
11
12
class
BaseKeyed
{
13
public
:
14
BaseKeyed
(){}
15
explicit
BaseKeyed
(std::string
const
& ikey) :
m_key
(ikey){}
16
virtual
~BaseKeyed
(){}
17
18
std::string
const
&
key
()
const
{
return
m_key
;}
19
void
setKey
(std::string
const
& ikey) {
m_key
=ikey;}
20
21
private
:
22
// the key as string
23
std::string
m_key
;
24
};
25
26
}
27
#endif
cond::BaseKeyed
Definition:
BaseKeyed.h:12
cond::BaseKeyed::BaseKeyed
BaseKeyed()
Definition:
BaseKeyed.h:14
cond::BaseKeyed::key
std::string const & key() const
Definition:
BaseKeyed.h:18
cond::BaseKeyed::~BaseKeyed
virtual ~BaseKeyed()
Definition:
BaseKeyed.h:16
cond::BaseKeyed::BaseKeyed
BaseKeyed(std::string const &ikey)
Definition:
BaseKeyed.h:15
cond::BaseKeyed::setKey
void setKey(std::string const &ikey)
Definition:
BaseKeyed.h:19
cond::BaseKeyed::m_key
std::string m_key
Definition:
BaseKeyed.h:23
Generated for CMSSW Reference Manual by
1.8.5