CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
EcalDQMStatusCode Class Reference

#include <EcalDQMStatusCode.h>

Public Member Functions

 EcalDQMStatusCode ()
 
 EcalDQMStatusCode (const EcalDQMStatusCode &codeStatus)
 
 EcalDQMStatusCode (const uint32_t &encodedStatus)
 
uint32_t getStatusCode () const
 
EcalDQMStatusCodeoperator= (const EcalDQMStatusCode &rhs)
 
void print (std::ostream &s) const
 
 ~EcalDQMStatusCode ()
 

Private Member Functions

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

Private Attributes

uint32_t status_
 

Friends

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

Detailed Description

Definition at line 9 of file EcalDQMStatusCode.h.

Constructor & Destructor Documentation

EcalDQMStatusCode::EcalDQMStatusCode ( )

Definition at line 6 of file EcalDQMStatusCode.cc.

References status_.

6  {
7  status_ = 0;
8 }
EcalDQMStatusCode::EcalDQMStatusCode ( const EcalDQMStatusCode codeStatus)

Definition at line 10 of file EcalDQMStatusCode.cc.

References status_.

EcalDQMStatusCode::EcalDQMStatusCode ( const uint32_t &  encodedStatus)
inline

Definition at line 13 of file EcalDQMStatusCode.h.

References ~EcalDQMStatusCode().

13 : status_(encodedStatus) {};
EcalDQMStatusCode::~EcalDQMStatusCode ( )

Definition at line 14 of file EcalDQMStatusCode.cc.

Referenced by EcalDQMStatusCode().

14  {
15 }

Member Function Documentation

uint32_t EcalDQMStatusCode::getStatusCode ( ) const
inline

Definition at line 21 of file EcalDQMStatusCode.h.

References status_.

21 { return status_; }
EcalDQMStatusCode & EcalDQMStatusCode::operator= ( const EcalDQMStatusCode rhs)

Definition at line 17 of file EcalDQMStatusCode.cc.

References status_.

Referenced by print().

17  {
18  status_ = rhs.status_;
19  return *this;
20 }
void EcalDQMStatusCode::print ( std::ostream &  s) const
inline

Definition at line 18 of file EcalDQMStatusCode.h.

References operator=(), and status_.

18 { s << "status is: " << status_; }
template<class Archive >
void EcalDQMStatusCode::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 26 of file EcalDQMStatusCode.h.

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

Definition at line 26 of file EcalDQMStatusCode.h.

Member Data Documentation

uint32_t EcalDQMStatusCode::status_
private

Definition at line 24 of file EcalDQMStatusCode.h.

Referenced by EcalDQMStatusCode(), getStatusCode(), operator=(), and print().