CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
cond::BaseKeyed Class Reference

#include <BaseKeyed.h>

Inheritance diagram for cond::BaseKeyed:
condex::ConfF condex::ConfI DTKeyedConfig

Public Member Functions

 BaseKeyed ()
 
 BaseKeyed (std::string const &ikey)
 
std::string const & key () const
 
void setKey (std::string const &ikey)
 
virtual ~BaseKeyed ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::string m_key
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 14 of file BaseKeyed.h.

Constructor & Destructor Documentation

cond::BaseKeyed::BaseKeyed ( )
inline

Definition at line 16 of file BaseKeyed.h.

16 {}
cond::BaseKeyed::BaseKeyed ( std::string const &  ikey)
inlineexplicit

Definition at line 17 of file BaseKeyed.h.

17 : m_key(ikey) {}
std::string m_key
Definition: BaseKeyed.h:25
virtual cond::BaseKeyed::~BaseKeyed ( )
inlinevirtual

Definition at line 18 of file BaseKeyed.h.

18 {}

Member Function Documentation

std::string const& cond::BaseKeyed::key ( ) const
inline

Definition at line 20 of file BaseKeyed.h.

References m_key.

20 { return m_key; }
std::string m_key
Definition: BaseKeyed.h:25
template<class Archive >
void cond::BaseKeyed::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void cond::BaseKeyed::setKey ( std::string const &  ikey)
inline

Definition at line 21 of file BaseKeyed.h.

References m_key.

21 { m_key = ikey; }
std::string m_key
Definition: BaseKeyed.h:25

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 27 of file BaseKeyed.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 27 of file BaseKeyed.h.

Member Data Documentation

std::string cond::BaseKeyed::m_key
private

Definition at line 25 of file BaseKeyed.h.

Referenced by key(), and setKey().