CMS 3D CMS Logo

Public Member Functions | Private Attributes

ESChannelStatusCode Class Reference

#include <ESChannelStatusCode.h>

List of all members.

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_.

                                         {
  status_ = 0;
}
ESChannelStatusCode::ESChannelStatusCode ( const ESChannelStatusCode codeStatus)

Definition at line 7 of file ESChannelStatusCode.cc.

References status_.

                                                                          {
  status_ = ratio.status_;
}
ESChannelStatusCode::ESChannelStatusCode ( const uint16_t &  encodedStatus) [inline]

Definition at line 11 of file ESChannelStatusCode.h.

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

Definition at line 11 of file ESChannelStatusCode.cc.

                                          {
}

Member Function Documentation

uint16_t ESChannelStatusCode::getStatusCode ( ) const [inline]

Definition at line 19 of file ESChannelStatusCode.h.

References status_.

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

Definition at line 14 of file ESChannelStatusCode.cc.

References status_.

                                                                                  {
  status_ = rhs.status_;
  return *this;
}
void ESChannelStatusCode::print ( std::ostream &  s) const [inline]

Definition at line 16 of file ESChannelStatusCode.h.

References status_.

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