CMS 3D CMS Logo

EcalDAQStatusCode.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalDAQStatusCode_H
2 #define CondFormats_EcalObjects_EcalDAQStatusCode_H
3 
10 
11 #include <iostream>
12 #include <cstdint>
13 
15 public:
17  EcalDAQStatusCode(const EcalDAQStatusCode& codeStatus);
18  EcalDAQStatusCode(const uint16_t& encodedStatus) : status_(encodedStatus){};
20 
21  //get Methods to be defined according to the final definition
22 
23  void print(std::ostream& s) const { s << "status is: " << status_; }
24 
26  uint16_t getStatusCode() const { return status_; }
27 
28 private:
29  uint16_t status_;
30 
32 };
33 #endif
void print(std::ostream &s) const
EcalDAQStatusCode & operator=(const EcalDAQStatusCode &rhs)
EcalDAQStatusCode(const uint16_t &encodedStatus)
uint16_t getStatusCode() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39