Emergency 20 Dokumentation  4.2.0
MedicalCareManager.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
14 
16 
17 
18 //[-------------------------------------------------------]
19 //[ Namespace ]
20 //[-------------------------------------------------------]
21 namespace em5
22 {
23 
24 
25  //[-------------------------------------------------------]
26  //[ Classes ]
27  //[-------------------------------------------------------]
32  class EM5_API_EXPORT MedicalCareManager : public qsf::ElementManager<uint32, MedicalCare>
33  {
34 
35 
36  //[-------------------------------------------------------]
37  //[ Public methods ]
38  //[-------------------------------------------------------]
39  public:
45 
50  virtual ~MedicalCareManager();
51 
56  void loadAssets();
57 
65  bool saveByFilename(const std::string& filename);
66 
77  const MedicalCare* getMedicalCareById(const qsf::StringHash& id) const;
78 
79 
80  };
81 
82 
83 //[-------------------------------------------------------]
84 //[ Namespace ]
85 //[-------------------------------------------------------]
86 } // em5
Definition: ActionPriority.h:13
#define EM5_API_EXPORT
Definition: Export.h:28
Element manager class template.
Definition: ElementManager.h:71
Manager for medical care definitions.
Definition: MedicalCareManager.h:32
Compile time string hash class.
Definition: StringHash.h:59
Medical care step definition class.
Definition: MedicalCare.h:30