CMS 3D CMS Logo

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