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 Attributes
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 Attributes

 COND_SERIALIZABLE
 
uint16_t status_
 

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_; }

Member Data Documentation

ESChannelStatusCode::COND_SERIALIZABLE
private

Definition at line 26 of file ESChannelStatusCode.h.

uint16_t ESChannelStatusCode::status_
private

Definition at line 24 of file ESChannelStatusCode.h.

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