CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
condex::ConfI Struct Reference

#include <Conf.h>

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

Public Member Functions

 ConfI ()
 
 ConfI (std::string k, int i)
 
- Public Member Functions inherited from cond::BaseKeyed
 BaseKeyed ()
 
 BaseKeyed (std::string const &ikey)
 
std::string const & key () const
 
void setKey (std::string const &ikey)
 
virtual ~BaseKeyed ()
 

Public Attributes

std::string key
 
int v
 

Private Member Functions

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

Friends

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

Detailed Description

Definition at line 14 of file Conf.h.

Constructor & Destructor Documentation

◆ ConfI() [1/2]

condex::ConfI::ConfI ( )
inline

Definition at line 15 of file Conf.h.

15 : v(0), key(" ") {}
int v
Definition: Conf.h:17
std::string const & key() const
Definition: BaseKeyed.h:20

◆ ConfI() [2/2]

condex::ConfI::ConfI ( std::string  k,
int  i 
)
inline

Definition at line 16 of file Conf.h.

16 : v(i), key(k) {}
int v
Definition: Conf.h:17
std::string const & key() const
Definition: BaseKeyed.h:20

Member Function Documentation

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 20 of file Conf.h.

◆ cond::serialization::access

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

Definition at line 20 of file Conf.h.

Member Data Documentation

◆ key

std::string condex::ConfI::key

◆ v

int condex::ConfI::v

Definition at line 17 of file Conf.h.