SESubstanceQuantity.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 class SESubstance;
6 
7 class CDM_DECL SESubstanceQuantity : public Loggable
8 {
9  friend class PBSubstanceQuantity;//friend the serialization class
10 public:
12  virtual ~SESubstanceQuantity();
13 
14  virtual void Clear() = 0; //clear memory
15  virtual void Invalidate() = 0;
16 
17  virtual SESubstance& GetSubstance() const { return m_Substance; }
18 
19  virtual void SetToZero() = 0;
20  virtual const SEScalar* GetScalar(const std::string& name) = 0;
21 
22 protected:
24 };
Definition: SEScalar.h:19
Definition: Logger.h:11
virtual SESubstance & GetSubstance() const
Definition: SESubstanceQuantity.h:17
Definition: PBSubstanceQuantity.h:10
SESubstance & m_Substance
Definition: SESubstanceQuantity.h:23
Definition: SESubstance.h:14
Definition: SESubstanceQuantity.h:7