CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
13 
14 namespace ecaldqm {
15 
16  class StatusManager {
17  public:
18  StatusManager();
20 
21  void readFromStream(std::istream &, EcalElectronicsMapping const *);
23  void writeToStream(std::ostream &) const;
25 
26  uint32_t getStatus(uint32_t) const;
27 
28  private:
29  std::map<std::string, uint32_t> dictionary_;
30  std::map<uint32_t, uint32_t> status_;
31  };
32 
33 } // namespace ecaldqm
34 
35 #endif
uint32_t getStatus(uint32_t) const
std::map< std::string, uint32_t > dictionary_
Definition: StatusManager.h:29
void writeToStream(std::ostream &) const
std::map< uint32_t, uint32_t > status_
Definition: StatusManager.h:30
void readFromStream(std::istream &, EcalElectronicsMapping const *)
void writeToObj(EcalDQMChannelStatus &, EcalDQMTowerStatus &) const
void readFromObj(EcalDQMChannelStatus const &, EcalDQMTowerStatus const &)