PBEnvironment.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
6CDM_BIND_DECL2(ActiveConditioning)
7CDM_BIND_DECL2(AppliedTemperature)
8CDM_BIND_DECL2(Environment)
9CDM_BIND_DECL2(EnvironmentalConditions)
10
11class CDM_DECL PBEnvironment
12{
13public:
14
15 static void Load(const CDM_BIND::ActiveConditioningData& src, SEActiveConditioning& dst);
16 static CDM_BIND::ActiveConditioningData* Unload(const SEActiveConditioning& src);
17 static void Serialize(const CDM_BIND::ActiveConditioningData& src, SEActiveConditioning& dst);
18 static void Serialize(const SEActiveConditioning& src, CDM_BIND::ActiveConditioningData& dst);
19 static void Copy(const SEActiveConditioning& src, SEActiveConditioning& dst);
20
21 static void Load(const CDM_BIND::AppliedTemperatureData& src, SEAppliedTemperature& dst);
22 static CDM_BIND::AppliedTemperatureData* Unload(const SEAppliedTemperature& src);
23 static void Serialize(const CDM_BIND::AppliedTemperatureData& src, SEAppliedTemperature& dst);
24 static void Serialize(const SEAppliedTemperature& src, CDM_BIND::AppliedTemperatureData& dst);
25 static void Copy(const SEAppliedTemperature& src, SEAppliedTemperature& dst);
26
27 static void Load(const CDM_BIND::EnvironmentData& src, SEEnvironment& dst, const SESubstanceManager& subMgr);
28 static CDM_BIND::EnvironmentData* Unload(const SEEnvironment& src);
29 static void Serialize(const CDM_BIND::EnvironmentData& src, SEEnvironment& dst, const SESubstanceManager& subMgr);
30 static void Serialize(const SEEnvironment& src, CDM_BIND::EnvironmentData& dst);
31 static void Copy(const SEEnvironment& src, SEEnvironment& dst, const SESubstanceManager& subMgr);
32
33 static void Load(const CDM_BIND::EnvironmentalConditionsData& src, SEEnvironmentalConditions& dst, const SESubstanceManager& subMgr);
34 static CDM_BIND::EnvironmentalConditionsData* Unload(const SEEnvironmentalConditions& src);
35 static void Serialize(const CDM_BIND::EnvironmentalConditionsData& src, SEEnvironmentalConditions& dst, const SESubstanceManager& subMgr);
36 static void Serialize(const SEEnvironmentalConditions& src, CDM_BIND::EnvironmentalConditionsData& dst);
37 static void Copy(const SEEnvironmentalConditions& src, SEEnvironmentalConditions& dst, const SESubstanceManager& subMgr);
38
39 static bool SerializeToString(const SEEnvironmentalConditions& src, std::string& output, eSerializationFormat m);
40 static bool SerializeToFile(const SEEnvironmentalConditions& src, const std::string& filename);
41 static bool SerializeFromString(const std::string& src, SEEnvironmentalConditions& dst, eSerializationFormat m, const SESubstanceManager& subMgr);
42 static bool SerializeFromFile(const std::string& filename, SEEnvironmentalConditions& dst, const SESubstanceManager& subMgr);
43};
Definition: PBEnvironment.h:12
Definition: SEActiveConditioning.h:6
Definition: SEAppliedTemperature.h:6
Definition: SEEnvironment.h:13
Definition: SEEnvironmentalConditions.h:16
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.