SESubstanceManager Class Reference
#include <SESubstanceManager.h>
Inherits Loggable.
Public Member Functions | |
SESubstanceManager (Logger *logger) | |
virtual | ~SESubstanceManager () |
virtual bool | LoadSubstanceDirectory (const std::string &data_dir="./") |
virtual const std::vector< SESubstance * > & | GetSubstances () |
virtual const std::vector< const SESubstance * > & | GetSubstances () const |
virtual bool | HasSubstance (const std::string &name) const |
virtual SESubstance * | GetSubstance (const std::string &name) |
virtual const SESubstance * | GetSubstance (const std::string &name) const |
virtual bool | IsActive (const SESubstance &substance) const |
virtual const std::vector< SESubstance * > & | GetActiveSubstances () |
virtual const std::vector< const SESubstance * > & | GetActiveSubstances () const |
virtual void | AddActiveSubstance (const SESubstance &substance) |
virtual void | RemoveActiveSubstance (const SESubstance &substance) |
virtual void | RemoveActiveSubstances () |
virtual const std::vector< SESubstance * > & | GetActiveGases () |
virtual const std::vector< const SESubstance * > & | GetActiveGases () const |
virtual const std::vector< SESubstance * > & | GetActiveLiquids () |
virtual const std::vector< const SESubstance * > & | GetActiveLiquids () const |
virtual const std::vector< SESubstanceCompound * > & | GetCompounds () |
virtual const std::vector< const SESubstanceCompound * > & | GetCompounds () const |
virtual bool | HasCompound (const std::string &name) const |
virtual SESubstanceCompound * | GetCompound (const std::string &name) |
virtual const SESubstanceCompound * | GetCompound (const std::string &name) const |
virtual bool | IsActive (const SESubstanceCompound &compound) const |
virtual const std::vector< SESubstanceCompound * > & | GetActiveCompounds () |
virtual const std::vector< const SESubstanceCompound * > & | GetActiveCompounds () const |
virtual void | AddActiveCompound (const SESubstanceCompound &compound) |
virtual void | RemoveActiveCompound (const SESubstanceCompound &compound) |
virtual void | RemoveActiveCompounds (const std::vector< SESubstanceCompound * > &compounds) |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () 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 Member Functions | |
virtual void | Clear () |
Protected Attributes | |
std::vector< SESubstance * > | m_Substances |
std::vector< const SESubstance * > | m_cSubstances |
std::vector< SESubstance * > | m_ActiveSubstances |
std::vector< const SESubstance * > | m_cActiveSubstances |
std::vector< SESubstance * > | m_ActiveGases |
std::vector< const SESubstance * > | m_cActiveGases |
std::vector< SESubstance * > | m_ActiveLiquids |
std::vector< const SESubstance * > | m_cActiveLiquids |
std::vector< SESubstanceCompound * > | m_Compounds |
std::vector< const SESubstanceCompound * > | m_cCompounds |
std::vector< SESubstanceCompound * > | m_ActiveCompounds |
std::vector< const SESubstanceCompound * > | m_cActiveCompounds |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Constructor & Destructor Documentation
◆ SESubstanceManager()
SESubstanceManager::SESubstanceManager | ( | Logger * | logger | ) |
◆ ~SESubstanceManager()
|
virtual |
Member Function Documentation
◆ AddActiveCompound()
|
virtual |
◆ AddActiveSubstance()
|
virtual |
◆ Clear()
|
protectedvirtual |
◆ GetActiveCompounds() [1/2]
|
virtual |
◆ GetActiveCompounds() [2/2]
|
virtual |
◆ GetActiveGases() [1/2]
|
virtual |
◆ GetActiveGases() [2/2]
|
virtual |
◆ GetActiveLiquids() [1/2]
|
virtual |
◆ GetActiveLiquids() [2/2]
|
virtual |
◆ GetActiveSubstances() [1/2]
|
virtual |
◆ GetActiveSubstances() [2/2]
|
virtual |
◆ GetCompound() [1/2]
|
virtual |
◆ GetCompound() [2/2]
|
virtual |
◆ GetCompounds() [1/2]
|
virtual |
◆ GetCompounds() [2/2]
|
virtual |
◆ GetSubstance() [1/2]
|
virtual |
◆ GetSubstance() [2/2]
|
virtual |
◆ GetSubstances() [1/2]
|
virtual |
◆ GetSubstances() [2/2]
|
virtual |
◆ HasCompound()
|
virtual |
◆ HasSubstance()
|
virtual |
◆ IsActive() [1/2]
|
virtual |
◆ IsActive() [2/2]
|
virtual |
◆ LoadSubstanceDirectory()
|
virtual |
◆ RemoveActiveCompound()
|
virtual |
◆ RemoveActiveCompounds()
|
virtual |
◆ RemoveActiveSubstance()
|
virtual |
◆ RemoveActiveSubstances()
|
virtual |
Member Data Documentation
◆ m_ActiveCompounds
|
protected |
◆ m_ActiveGases
|
protected |
◆ m_ActiveLiquids
|
protected |
◆ m_ActiveSubstances
|
protected |
◆ m_cActiveCompounds
|
protected |
◆ m_cActiveGases
|
protected |
◆ m_cActiveLiquids
|
protected |
◆ m_cActiveSubstances
|
protected |
◆ m_cCompounds
|
protected |
◆ m_Compounds
|
protected |
◆ m_cSubstances
|
protected |
◆ m_Substances
|
protected |