SESubstanceConcentration.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 class SESubstance;
8 CDM_BIND_DECL(SubstanceData_ConcentrationData)
9 
10 class 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
14 public:
15 
17  virtual ~SESubstanceConcentration();
18 
19  virtual void Clear();
20 
21  virtual bool HasConcentration() const;
22  virtual SEScalarMassPerVolume& GetConcentration();
23  virtual double GetConcentration(const MassPerVolumeUnit& unit) const;
24 
25  virtual SESubstance& GetSubstance() const;
26 
27 protected:
28 
31 
32 };
Definition: SESubstanceManager.h:8
SEScalarMassPerVolume * m_Concentration
Definition: SESubstanceConcentration.h:30
Definition: SEScalarMassPerVolume.h:32
friend SEEnvironmentalConditions
Definition: SESubstanceConcentration.h:13
Definition: SEScalarMassPerVolume.h:7
Definition: Logger.h:11
Definition: SESubstanceConcentration.h:10
SESubstance & m_Substance
Definition: SESubstanceConcentration.h:29
Definition: PBSubstance.h:18
Definition: SESubstance.h:14
Definition: SEEnvironmentalConditions.h:15