CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  {
4  status_ = 0;
5 }
ESChannelStatusCode::ESChannelStatusCode ( const ESChannelStatusCode codeStatus)

Definition at line 7 of file ESChannelStatusCode.cc.

References status_.

7  {
8  status_ = ratio.status_;
9 }
ESChannelStatusCode::ESChannelStatusCode ( const uint16_t &  encodedStatus)
inline

Definition at line 13 of file ESChannelStatusCode.h.

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

Definition at line 11 of file ESChannelStatusCode.cc.

11  {
12 }

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 14 of file ESChannelStatusCode.cc.

References status_.

14  {
15  status_ = rhs.status_;
16  return *this;
17 }
void ESChannelStatusCode::print ( std::ostream &  s) const
inline

Definition at line 18 of file ESChannelStatusCode.h.

References 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().