test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESChannelStatusCode.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESChannelStatusCode_H
2 #define CondFormats_ESObjects_ESChannelStatusCode_H
3 
5 
6 #include <iostream>
7 #include <boost/cstdint.hpp>
8 
10  public:
12  ESChannelStatusCode(const ESChannelStatusCode & codeStatus);
13  ESChannelStatusCode(const uint16_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  uint16_t getStatusCode() const { return status_; }
22 
23  private:
24  uint16_t status_;
25 
27 };
28 #endif
void print(std::ostream &s) const
ESChannelStatusCode(const uint16_t &encodedStatus)
uint16_t getStatusCode() const
#define COND_SERIALIZABLE
Definition: Serializable.h:30
ESChannelStatusCode & operator=(const ESChannelStatusCode &rhs)