PBAnesthesiaMachine.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
6CDM_BIND_DECL2(AnesthesiaMachine)
7CDM_BIND_DECL2(AnesthesiaMachineChamber)
8CDM_BIND_DECL2(AnesthesiaMachineOxygenBottle)
9
10class CDM_DECL PBAnesthesiaMachine
11{
12public:
13
14 static void Load(const CDM_BIND::AnesthesiaMachineData& src, SEAnesthesiaMachine& dst, const SESubstanceManager& subMgr);
15 static CDM_BIND::AnesthesiaMachineData* Unload(const SEAnesthesiaMachine& src);
16 static void Serialize(const CDM_BIND::AnesthesiaMachineData& src, SEAnesthesiaMachine& dst, const SESubstanceManager& subMgr);
17 static void Serialize(const SEAnesthesiaMachine& src, CDM_BIND::AnesthesiaMachineData& dst);
18
19 static bool SerializeToString(const SEAnesthesiaMachine& src, std::string& output, eSerializationFormat m);
20 static bool SerializeToFile(const SEAnesthesiaMachine& src, const std::string& filename);
21 static bool SerializeFromString(const std::string& src, SEAnesthesiaMachine& dst, eSerializationFormat m, const SESubstanceManager& subMgr);
22 static bool SerializeFromFile(const std::string& filename, SEAnesthesiaMachine& dst, const SESubstanceManager& subMgr);
23
24 static void Load(const CDM_BIND::AnesthesiaMachineChamberData& src, SEAnesthesiaMachineChamber& dst, const SESubstanceManager& subMgr);
25 static CDM_BIND::AnesthesiaMachineChamberData* Unload(const SEAnesthesiaMachineChamber& src);
26 static void Serialize(const CDM_BIND::AnesthesiaMachineChamberData& src, SEAnesthesiaMachineChamber& dst, const SESubstanceManager& subMgr);
27 static void Serialize(const SEAnesthesiaMachineChamber& src, CDM_BIND::AnesthesiaMachineChamberData& dst);
28
29 static void Load(const CDM_BIND::AnesthesiaMachineOxygenBottleData& src, SEAnesthesiaMachineOxygenBottle& dst);
30 static CDM_BIND::AnesthesiaMachineOxygenBottleData* Unload(const SEAnesthesiaMachineOxygenBottle& src);
31 static void Serialize(const CDM_BIND::AnesthesiaMachineOxygenBottleData& src, SEAnesthesiaMachineOxygenBottle& dst);
32 static void Serialize(const SEAnesthesiaMachineOxygenBottle& src, CDM_BIND::AnesthesiaMachineOxygenBottleData& dst);
33
34};
Definition: PBAnesthesiaMachine.h:11
Definition: SEAnesthesiaMachineChamber.h:10
Definition: SEAnesthesiaMachine.h:24
Definition: SEAnesthesiaMachineOxygenBottle.h:8
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.