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

uint16_t status_
 

Detailed Description

Definition at line 7 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 11 of file ESChannelStatusCode.h.

11 : 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 19 of file ESChannelStatusCode.h.

References status_.

19 { 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 16 of file ESChannelStatusCode.h.

References status_.

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

Member Data Documentation

uint16_t ESChannelStatusCode::status_
private

Definition at line 22 of file ESChannelStatusCode.h.

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