SESubstanceFraction.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_FractionAmountData)
9 
10 class CDM_DECL SESubstanceFraction : 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 ~SESubstanceFraction();
18 
19  virtual void Clear();
20 
21  virtual bool HasFractionAmount() const;
22  virtual SEScalar0To1& GetFractionAmount();
23  virtual double GetFractionAmount() const;
24 
25  virtual SESubstance& GetSubstance() const;
26 
27 protected:
28 
31 };
Definition: SESubstanceManager.h:8
Definition: SESubstanceFraction.h:10
Definition: Logger.h:11
SEScalar0To1 * m_FractionAmount
Definition: SESubstanceFraction.h:30
friend SEEnvironmentalConditions
Definition: SESubstanceFraction.h:13
Definition: PBSubstance.h:18
SESubstance & m_Substance
Definition: SESubstanceFraction.h:29
Definition: SESubstance.h:14
Definition: SEEnvironmentalConditions.h:15
Definition: SEScalar0To1.h:7