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 
11 
12 #include <iostream>
13 #include <boost/cstdint.hpp>
14 
16  public:
18  EcalDAQStatusCode(const EcalDAQStatusCode & codeStatus);
19  EcalDAQStatusCode(const uint16_t& encodedStatus) : status_(encodedStatus) {};
21 
22  //get Methods to be defined according to the final definition
23 
24  void print(std::ostream& s) const { s << "status is: " << status_; }
25 
27  uint16_t getStatusCode() const { return status_; }
28 
29  private:
30  uint16_t status_;
31 
33 };
34 #endif
EcalDAQStatusCode & operator=(const EcalDAQStatusCode &rhs)
void print(std::ostream &s) const
EcalDAQStatusCode(const uint16_t &encodedStatus)
uint16_t getStatusCode() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38