#include <SESubstanceConcentration.h>

Inherits Loggable.

Public Member Functions

 SESubstanceConcentration (const SESubstance &substance)
 
virtual ~SESubstanceConcentration ()
 
virtual void Clear ()
 
virtual bool HasConcentration () const
 
virtual SEScalarMassPerVolumeGetConcentration ()
 
virtual const SEScalarMassPerVolumeGetConcentration () const
 
virtual double GetConcentration (const MassPerVolumeUnit &unit) const
 
virtual const SESubstanceGetSubstance () const
 
virtual std::string ToString () 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
 
SEScalarMassPerVolumem_Concentration
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Private Attributes

friend SEEnvironmentalConditions
 

Friends

class PBSubstance
 

Constructor & Destructor Documentation

◆ SESubstanceConcentration()

SESubstanceConcentration::SESubstanceConcentration ( const SESubstance substance)

◆ ~SESubstanceConcentration()

SESubstanceConcentration::~SESubstanceConcentration ( )
virtual

Member Function Documentation

◆ Clear()

void SESubstanceConcentration::Clear ( )
virtual

◆ GetConcentration() [1/3]

SEScalarMassPerVolume & SESubstanceConcentration::GetConcentration ( )
virtual

◆ GetConcentration() [2/3]

const SEScalarMassPerVolume * SESubstanceConcentration::GetConcentration ( ) const
virtual

◆ GetConcentration() [3/3]

double SESubstanceConcentration::GetConcentration ( const MassPerVolumeUnit unit) const
virtual

◆ GetSubstance()

const SESubstance & SESubstanceConcentration::GetSubstance ( ) const
virtual

◆ HasConcentration()

bool SESubstanceConcentration::HasConcentration ( ) const
virtual

◆ ToString()

std::string SESubstanceConcentration::ToString ( ) const
virtual

Friends And Related Function Documentation

◆ PBSubstance

friend class PBSubstance
friend

Member Data Documentation

◆ m_Concentration

SEScalarMassPerVolume* SESubstanceConcentration::m_Concentration
protected

◆ m_Substance

const SESubstance& SESubstanceConcentration::m_Substance
protected

◆ SEEnvironmentalConditions

friend SESubstanceConcentration::SEEnvironmentalConditions
private

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.