RecoSim  1.0
 All Classes Files Functions Variables Enumerations
resources.h
Go to the documentation of this file.
1 
21 #ifndef RESOURCES_H
22 #define RESOURCES_H
23 
24 #include <string>
25 #include <map>
26 using namespace std;
27 
28 class Resources {
29 
30 private:
31 
32  map<string, int> resourceMap;
33 
34 public:
35  Resources(map<string, int> _resourceMap) : resourceMap(_resourceMap) {}
36 
37  Resources() {}
38 
39  Resources(const Resources &other) {
40  resourceMap = other.resourceMap;
41  }
42 
43  int getResourceCount(string resource_name) const;
44  map<string, int> &getResourceMap(void);
45 };
46 
47 #endif
Definition: resources.h:28