CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
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 Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

uint16_t status_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 9 of file ESChannelStatusCode.h.

Constructor & Destructor Documentation

◆ ESChannelStatusCode() [1/3]

ESChannelStatusCode::ESChannelStatusCode ( )

Definition at line 3 of file ESChannelStatusCode.cc.

References status_.

3 { status_ = 0; }

◆ ESChannelStatusCode() [2/3]

ESChannelStatusCode::ESChannelStatusCode ( const ESChannelStatusCode codeStatus)

Definition at line 5 of file ESChannelStatusCode.cc.

References status_.

5 { status_ = ratio.status_; }

◆ ESChannelStatusCode() [3/3]

ESChannelStatusCode::ESChannelStatusCode ( const uint16_t &  encodedStatus)
inline

Definition at line 13 of file ESChannelStatusCode.h.

13 : status_(encodedStatus){};

◆ ~ESChannelStatusCode()

ESChannelStatusCode::~ESChannelStatusCode ( )

Definition at line 7 of file ESChannelStatusCode.cc.

7 {}

Member Function Documentation

◆ getStatusCode()

uint16_t ESChannelStatusCode::getStatusCode ( ) const
inline

Definition at line 21 of file ESChannelStatusCode.h.

References status_.

21 { return status_; }

◆ operator=()

ESChannelStatusCode & ESChannelStatusCode::operator= ( const ESChannelStatusCode rhs)

Definition at line 9 of file ESChannelStatusCode.cc.

References status_.

9  {
10  status_ = rhs.status_;
11  return *this;
12 }

◆ print()

void ESChannelStatusCode::print ( std::ostream &  s) const
inline

Definition at line 18 of file ESChannelStatusCode.h.

References alignCSCRings::s, and status_.

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

◆ serialize()

template<class Archive >
void ESChannelStatusCode::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 26 of file ESChannelStatusCode.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 26 of file ESChannelStatusCode.h.

Member Data Documentation

◆ status_

uint16_t ESChannelStatusCode::status_
private

Definition at line 24 of file ESChannelStatusCode.h.

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