PBSubstanceQuantity.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 CDM_BIND_DECL2(GasSubstanceQuantity);
6 CDM_BIND_DECL2(LiquidSubstanceQuantity);
7 CDM_BIND_DECL2(SubstanceQuantity);
8 
9 
10 class CDM_DECL PBSubstanceQuantity
11 {
12 public:
13 
14  static void Load(const cdm::LiquidSubstanceQuantityData& src, SELiquidSubstanceQuantity& dst);
15  static cdm::LiquidSubstanceQuantityData* Unload(const SELiquidSubstanceQuantity& src);
16  static void Load(const cdm::GasSubstanceQuantityData& src, SEGasSubstanceQuantity& dst);
17  static cdm::GasSubstanceQuantityData* Unload(const SEGasSubstanceQuantity& src);
18  static void Serialize(const cdm::SubstanceQuantityData& src, SESubstanceQuantity& dst);
19  static void Serialize(const SESubstanceQuantity& src, cdm::SubstanceQuantityData& dst);
20  static void Serialize(const cdm::LiquidSubstanceQuantityData& src, SELiquidSubstanceQuantity& dst);
21  static void Serialize(const SELiquidSubstanceQuantity& src, cdm::LiquidSubstanceQuantityData& dst);
22  static void Serialize(const cdm::GasSubstanceQuantityData& src, SEGasSubstanceQuantity& dst);
23  static void Serialize(const SEGasSubstanceQuantity& src, cdm::GasSubstanceQuantityData& dst);
24 };
Definition: SELiquidSubstanceQuantity.h:11
Definition: PBSubstanceQuantity.h:10
Definition: SEGasSubstanceQuantity.h:9
Definition: SESubstanceQuantity.h:7