SESubstanceFraction Class Reference

#include <SESubstanceFraction.h>

Inherits Loggable.

Public Member Functions

 SESubstanceFraction (const SESubstance &)
 
virtual ~SESubstanceFraction ()
 
virtual void Clear ()
 
virtual bool HasFractionAmount () const
 
virtual SEScalar0To1GetFractionAmount ()
 
virtual double GetFractionAmount () const
 
virtual const SESubstanceGetSubstance () const
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
virtual void Debug (std::string const &msg) const
 
virtual void Debug (std::stringstream &msg) const
 
virtual void Debug (std::ostream &msg) const
 
virtual void Info (std::string const &msg) const
 
virtual void Info (std::stringstream &msg) const
 
virtual void Info (const std::stringstream &msg) const
 
virtual void Info (std::ostream &msg) const
 
virtual void Warning (std::string const &msg) const
 
virtual void Warning (std::stringstream &msg) const
 
virtual void Warning (std::ostream &msg) const
 
virtual void Error (std::string const &msg) const
 
virtual void Error (std::stringstream &msg) const
 
virtual void Error (std::ostream &msg) const
 
virtual void Fatal (std::string const &msg) const
 
virtual void Fatal (std::stringstream &msg) const
 
virtual void Fatal (std::ostream &msg) const
 

Protected Attributes

const SESubstancem_Substance
 
SEScalar0To1m_FractionAmount
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBSubstance
 
class SEEnvironmentalConditions
 
class SEMechanicalVentilator
 

Constructor & Destructor Documentation

◆ SESubstanceFraction()

SESubstanceFraction::SESubstanceFraction ( const SESubstance substance)

◆ ~SESubstanceFraction()

SESubstanceFraction::~SESubstanceFraction ( )
virtual

Member Function Documentation

◆ Clear()

void SESubstanceFraction::Clear ( )
virtual

◆ GetFractionAmount() [1/2]

SEScalar0To1 & SESubstanceFraction::GetFractionAmount ( )
virtual

◆ GetFractionAmount() [2/2]

double SESubstanceFraction::GetFractionAmount ( ) const
virtual

◆ GetSubstance()

const SESubstance & SESubstanceFraction::GetSubstance ( ) const
virtual

◆ HasFractionAmount()

bool SESubstanceFraction::HasFractionAmount ( ) const
virtual

Friends And Related Function Documentation

◆ PBSubstance

friend class PBSubstance
friend

◆ SEEnvironmentalConditions

friend class SEEnvironmentalConditions
friend

◆ SEMechanicalVentilator

friend class SEMechanicalVentilator
friend

Member Data Documentation

◆ m_FractionAmount

SEScalar0To1* SESubstanceFraction::m_FractionAmount
protected

◆ m_Substance

const SESubstance& SESubstanceFraction::m_Substance
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.