CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalDQMStatusCode.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalDQMStatusCode_H
2 #define CondFormats_EcalObjects_EcalDQMStatusCode_H
3 
4 #include <iostream>
5 #include <boost/cstdint.hpp>
6 
8  public:
10  EcalDQMStatusCode(const EcalDQMStatusCode & codeStatus);
11  EcalDQMStatusCode(const uint32_t& encodedStatus) : status_(encodedStatus) {};
13 
14  //get Methods to be defined according to the final definition
15 
16  void print(std::ostream& s) const { s << "status is: " << status_; }
17 
19  uint32_t getStatusCode() const { return status_; }
20 
21  private:
22  uint32_t status_;
23 };
24 #endif
EcalDQMStatusCode(const uint32_t &encodedStatus)
uint32_t getStatusCode() const
void print(std::ostream &s) const
EcalDQMStatusCode & operator=(const EcalDQMStatusCode &rhs)