PBInhaler.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
6CDM_BIND_DECL2(Inhaler)
7
8class CDM_DECL PBInhaler
9{
10public:
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: PBInhaler.h:9
Definition: SEInhaler.h:12
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.