CMS 3D CMS Logo

StatusManager.h
Go to the documentation of this file.
1 #ifndef StatusManager_H
2 #define StatusManager_H
3 
4 #include <cstdint>
5 #include <iostream>
6 #include <map>
7 #include <vector>
8 
11 
12 namespace ecaldqm {
13 
14  class StatusManager {
15  public:
16  StatusManager();
18 
19  void readFromStream(std::istream &);
21  void writeToStream(std::ostream &) const;
23 
24  uint32_t getStatus(uint32_t) const;
25 
26  private:
27  std::map<std::string, uint32_t> dictionary_;
28  std::map<uint32_t, uint32_t> status_;
29  };
30 
31 } // namespace ecaldqm
32 
33 #endif
void readFromStream(std::istream &)
uint32_t getStatus(uint32_t) const
std::map< std::string, uint32_t > dictionary_
Definition: StatusManager.h:27
void writeToStream(std::ostream &) const
std::map< uint32_t, uint32_t > status_
Definition: StatusManager.h:28
void writeToObj(EcalDQMChannelStatus &, EcalDQMTowerStatus &) const
void readFromObj(EcalDQMChannelStatus const &, EcalDQMTowerStatus const &)