CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondFormats/EcalObjects/interface/EcalDQMStatusCode.h

Go to the documentation of this file.
00001 #ifndef CondFormats_EcalObjects_EcalDQMStatusCode_H
00002 #define CondFormats_EcalObjects_EcalDQMStatusCode_H
00003 
00004 #include <iostream>
00005 #include <boost/cstdint.hpp>
00006 
00007 class EcalDQMStatusCode {
00008   public:
00009     EcalDQMStatusCode();
00010     EcalDQMStatusCode(const EcalDQMStatusCode & codeStatus);
00011     EcalDQMStatusCode(const uint32_t& encodedStatus) : status_(encodedStatus) {};
00012     ~EcalDQMStatusCode();
00013 
00014     //get Methods to be defined according to the final definition
00015 
00016     void print(std::ostream& s) const { s << "status is: " << status_; }
00017 
00018     EcalDQMStatusCode& operator=(const EcalDQMStatusCode& rhs);
00019     uint32_t getStatusCode() const { return status_; }
00020 
00021   private:
00022     uint32_t status_;
00023 };
00024 #endif