CMS 3D CMS Logo

PixelROCStatus.h
Go to the documentation of this file.
1 #ifndef PixelROCStatus_h
2 #define PixelROCStatus_h
3 
9 #include <cstdint>
10 #include <set>
11 #include <string>
12 
13 namespace pos {
14 
21  private:
22  uint32_t bits_;
23 
24  public:
25  //Insert new status before nStatus
27 
29  PixelROCStatus(const std::set<ROCstatus>& stat);
30  virtual ~PixelROCStatus();
31 
33  std::string statusName() const;
34 
35  void set(ROCstatus stat);
36  void clear(ROCstatus stat);
37  void set(ROCstatus stat, bool mode);
38  void set(const std::string& statName);
39  bool get(ROCstatus stat) const;
40 
41  // Added by Dario (March 4th 2008)
42  void reset(void);
43  };
44 } // namespace pos
45 #endif
std::string statusName() const
This class implements..
void clear(ROCstatus stat)