CMS 3D CMS Logo

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

#include <Conf.h>

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

Public Member Functions

 ConfF ()
 
 ConfF (std::string k, float 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
 
float 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 23 of file Conf.h.

Constructor & Destructor Documentation

◆ ConfF() [1/2]

condex::ConfF::ConfF ( )
inline

Definition at line 24 of file Conf.h.

24 : v(0), key(" ") {}
float v
Definition: Conf.h:26
std::string const & key() const
Definition: BaseKeyed.h:20

◆ ConfF() [2/2]

condex::ConfF::ConfF ( std::string  k,
float  i 
)
inline

Definition at line 25 of file Conf.h.

25 : v(i), key(k) {}
float v
Definition: Conf.h:26
std::string const & key() const
Definition: BaseKeyed.h:20

Member Function Documentation

◆ serialize()

template<class Archive >
void condex::ConfF::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 29 of file Conf.h.

◆ cond::serialization::access

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

Definition at line 29 of file Conf.h.

Member Data Documentation

◆ key

std::string condex::ConfF::key

◆ v

float condex::ConfF::v

Definition at line 26 of file Conf.h.