CMS 3D CMS Logo

EcalDQMStatusCode.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalDQMStatusCode_H
2 #define CondFormats_EcalObjects_EcalDQMStatusCode_H
3 
5 
6 #include <iostream>
7 #include <cstdint>
8 
10 public:
12  EcalDQMStatusCode(const EcalDQMStatusCode& codeStatus);
13  EcalDQMStatusCode(const uint32_t& encodedStatus) : status_(encodedStatus) {}
15 
16  //get Methods to be defined according to the final definition
17 
18  void print(std::ostream& s) const { s << "status is: " << status_; }
19 
21  uint32_t getStatusCode() const { return status_; }
22 
23 private:
24  uint32_t status_;
25 
27 };
28 #endif
void print(std::ostream &s) const
EcalDQMStatusCode(const uint32_t &encodedStatus)
uint32_t getStatusCode() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalDQMStatusCode & operator=(const EcalDQMStatusCode &rhs)