CMS 3D CMS Logo

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

#include <ESChannelStatusCode.h>

Public Member Functions

 ESChannelStatusCode ()
 
 ESChannelStatusCode (const ESChannelStatusCode &codeStatus)
 
 ESChannelStatusCode (const uint16_t &encodedStatus)
 
uint16_t getStatusCode () const
 
ESChannelStatusCodeoperator= (const ESChannelStatusCode &rhs)
 
void print (std::ostream &s) const
 
 ~ESChannelStatusCode ()
 

Private Member Functions

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

Private Attributes

uint16_t status_
 

Friends

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

Detailed Description

Definition at line 9 of file ESChannelStatusCode.h.

Constructor & Destructor Documentation

ESChannelStatusCode::ESChannelStatusCode ( )

Definition at line 3 of file ESChannelStatusCode.cc.

References status_.

3 { status_ = 0; }
ESChannelStatusCode::ESChannelStatusCode ( const ESChannelStatusCode codeStatus)
ESChannelStatusCode::ESChannelStatusCode ( const uint16_t &  encodedStatus)
inline

Definition at line 13 of file ESChannelStatusCode.h.

References ~ESChannelStatusCode().

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

Definition at line 7 of file ESChannelStatusCode.cc.

Referenced by ESChannelStatusCode().

7 {}

Member Function Documentation

uint16_t ESChannelStatusCode::getStatusCode ( ) const
inline

Definition at line 21 of file ESChannelStatusCode.h.

References status_.

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

Definition at line 9 of file ESChannelStatusCode.cc.

References status_.

Referenced by print().

9  {
10  status_ = rhs.status_;
11  return *this;
12 }
void ESChannelStatusCode::print ( std::ostream &  s) const
inline

Definition at line 18 of file ESChannelStatusCode.h.

References operator=(), and status_.

18 { s << "status is: " << status_; }
template<class Archive >
void ESChannelStatusCode::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 ESChannelStatusCode.h.

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

Definition at line 26 of file ESChannelStatusCode.h.

Member Data Documentation

uint16_t ESChannelStatusCode::status_
private

Definition at line 24 of file ESChannelStatusCode.h.

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