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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.