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() [1/3]

EcalDQMStatusCode::EcalDQMStatusCode ( )

Definition at line 6 of file EcalDQMStatusCode.cc.

References status_.

6 { status_ = 0; }

◆ EcalDQMStatusCode() [2/3]

EcalDQMStatusCode::EcalDQMStatusCode ( const EcalDQMStatusCode codeStatus)

Definition at line 8 of file EcalDQMStatusCode.cc.

References status_.

8 { status_ = ratio.status_; }

◆ EcalDQMStatusCode() [3/3]

EcalDQMStatusCode::EcalDQMStatusCode ( const uint32_t &  encodedStatus)
inline

Definition at line 13 of file EcalDQMStatusCode.h.

13 : status_(encodedStatus) {}

◆ ~EcalDQMStatusCode()

EcalDQMStatusCode::~EcalDQMStatusCode ( )

Definition at line 10 of file EcalDQMStatusCode.cc.

10 {}

Member Function Documentation

◆ getStatusCode()

uint32_t EcalDQMStatusCode::getStatusCode ( ) const
inline

Definition at line 21 of file EcalDQMStatusCode.h.

References status_.

21 { return status_; }

◆ operator=()

EcalDQMStatusCode & EcalDQMStatusCode::operator= ( const EcalDQMStatusCode rhs)

Definition at line 12 of file EcalDQMStatusCode.cc.

References status_.

12  {
13  status_ = rhs.status_;
14  return *this;
15 }

◆ print()

void EcalDQMStatusCode::print ( std::ostream &  s) const
inline

Definition at line 18 of file EcalDQMStatusCode.h.

References alignCSCRings::s, and status_.

18 { s << "status is: " << status_; }

◆ serialize()

template<class Archive >
void EcalDQMStatusCode::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 26 of file EcalDQMStatusCode.h.

◆ cond::serialization::access

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

Definition at line 26 of file EcalDQMStatusCode.h.

Member Data Documentation

◆ status_

uint32_t EcalDQMStatusCode::status_
private

Definition at line 24 of file EcalDQMStatusCode.h.

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