CMS 3D CMS Logo

Public Member Functions | Private Attributes

EcalDAQStatusCode Class Reference

#include <EcalDAQStatusCode.h>

List of all members.

Public Member Functions

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

Private Attributes

uint16_t status_

Detailed Description

Author: Paolo Meridiani Created: 14 Nov 2006

Id:
EcalDAQStatusCode.h,v 1.1 2010/01/29 10:48:37 fra Exp

Definition at line 13 of file EcalDAQStatusCode.h.


Constructor & Destructor Documentation

EcalDAQStatusCode::EcalDAQStatusCode ( )

Author: Paolo Meridiani Created: 14 Nov 2006

Id:
EcalDAQStatusCode.cc,v 1.1 2010/01/29 10:48:38 fra Exp

Definition at line 9 of file EcalDAQStatusCode.cc.

References status_.

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

Definition at line 13 of file EcalDAQStatusCode.cc.

References status_.

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

Definition at line 17 of file EcalDAQStatusCode.h.

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

Definition at line 17 of file EcalDAQStatusCode.cc.

                                      {
}

Member Function Documentation

uint16_t EcalDAQStatusCode::getStatusCode ( ) const [inline]

Definition at line 25 of file EcalDAQStatusCode.h.

References status_.

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

Definition at line 20 of file EcalDAQStatusCode.cc.

References status_.

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

Definition at line 22 of file EcalDAQStatusCode.h.

References status_.

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

Member Data Documentation

uint16_t EcalDAQStatusCode::status_ [private]

Definition at line 28 of file EcalDAQStatusCode.h.

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