<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
PBInhaler.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
6 CDM_BIND_DECL2(Inhaler)
7 
8 class CDM_DECL PBInhaler
9 {
10 public:
11 
12  static void Load(const CDM_BIND::InhalerData& src, SEInhaler& dst, const SESubstanceManager& subMgr);
13  static CDM_BIND::InhalerData* Unload(const SEInhaler& src);
14  static void Serialize(const CDM_BIND::InhalerData& src, SEInhaler& dst, const SESubstanceManager& subMgr);
15  static void Serialize(const SEInhaler& src, CDM_BIND::InhalerData& dst);
16 
17  static bool SerializeToString(const SEInhaler& src, std::string& output, eSerializationFormat m);
18  static bool SerializeToFile(const SEInhaler& src, const std::string& filename);
19  static bool SerializeFromString(const std::string& src, SEInhaler& dst, eSerializationFormat m, const SESubstanceManager& subMgr);
20  static bool SerializeFromFile(const std::string& filename, SEInhaler& dst, const SESubstanceManager& subMgr);
21 };
Definition: SESubstanceManager.h:8
Definition: SEInhaler.h:11
Definition: PBInhaler.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.