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
EcalChannelStatusCode Class Reference

#include <EcalChannelStatusCode.h>

Public Member Functions

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

Private Attributes

uint16_t status_
 

Detailed Description

Author: Paolo Meridiani Created: 14 Nov 2006

Id:
EcalChannelStatusCode.h,v 1.1 2006/11/16 18:18:24 meridian Exp

Definition at line 13 of file EcalChannelStatusCode.h.

Constructor & Destructor Documentation

EcalChannelStatusCode::EcalChannelStatusCode ( )

Author: Paolo Meridiani Created: 14 Nov 2006

Id:

Definition at line 9 of file EcalChannelStatusCode.cc.

References status_.

9  {
10  status_ = 0;
11 }
EcalChannelStatusCode::EcalChannelStatusCode ( const EcalChannelStatusCode codeStatus)

Definition at line 13 of file EcalChannelStatusCode.cc.

References status_.

13  {
14  status_ = ratio.status_;
15 }
EcalChannelStatusCode::EcalChannelStatusCode ( const uint16_t &  encodedStatus)
inline

Definition at line 17 of file EcalChannelStatusCode.h.

17 : status_(encodedStatus) {};
EcalChannelStatusCode::~EcalChannelStatusCode ( )

Definition at line 17 of file EcalChannelStatusCode.cc.

17  {
18 }

Member Function Documentation

uint16_t EcalChannelStatusCode::getStatusCode ( ) const
inline
EcalChannelStatusCode & EcalChannelStatusCode::operator= ( const EcalChannelStatusCode rhs)

Definition at line 20 of file EcalChannelStatusCode.cc.

References status_.

20  {
21  status_ = rhs.status_;
22  return *this;
23 }
void EcalChannelStatusCode::print ( std::ostream &  s) const
inline

Definition at line 22 of file EcalChannelStatusCode.h.

References status_.

22 { s << "status is: " << status_; }
string s
Definition: asciidump.py:422

Member Data Documentation

uint16_t EcalChannelStatusCode::status_
private

Definition at line 28 of file EcalChannelStatusCode.h.

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