SESubstanceConcentration.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5class SESubstance;
8CDM_BIND_DECL(SubstanceData_ConcentrationData)
9
10class CDM_DECL SESubstanceConcentration : public Loggable
11{
12 friend class PBSubstance;//friend the serialization class
13 friend SEEnvironmentalConditions;// So it can add substances to the manager
14public:
15
16 SESubstanceConcentration(const SESubstance& substance);
18
19 virtual void Clear();
20
21 virtual bool HasConcentration() const;
22 virtual SEScalarMassPerVolume& GetConcentration();
23 virtual const SEScalarMassPerVolume* GetConcentration() const;
24 virtual double GetConcentration(const MassPerVolumeUnit& unit) const;
25
26 virtual const SESubstance& GetSubstance() const;
27
28 virtual std::string ToString() const;
29
30protected:
31
34
35};
Definition: Logger.h:23
Definition: SEScalarMassPerVolume.h:8
Definition: PBSubstance.h:19
Definition: SEEnvironmentalConditions.h:16
Definition: SEScalarMassPerVolume.h:37
Definition: SESubstanceConcentration.h:11
friend SEEnvironmentalConditions
Definition: SESubstanceConcentration.h:13
SEScalarMassPerVolume * m_Concentration
Definition: SESubstanceConcentration.h:33
const SESubstance & m_Substance
Definition: SESubstanceConcentration.h:32
Definition: SESubstance.h:15
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.