SEChangeEnvironmentConditions Class Reference

#include <SEChangeEnvironmentConditions.h>

Inherits SEEnvironmentAction.

Public Member Functions

 SEChangeEnvironmentConditions (SESubstanceManager &substances)
 
virtual ~SEChangeEnvironmentConditions ()
 
virtual void Clear ()
 
virtual void Copy (const SEChangeEnvironmentConditions &src)
 
virtual bool IsValid () const
 
virtual bool HasConditions () const
 
virtual SEEnvironmentalConditionsGetConditions ()
 
virtual const SEEnvironmentalConditionsGetConditions () const
 
virtual std::string GetConditionsFile () const
 
virtual void SetConditionsFile (const std::string &fileName)
 
virtual bool HasConditionsFile () const
 
virtual void InvalidateConditionsFile ()
 
virtual void ToString (std::ostream &str) const
 
- Public Member Functions inherited from SEEnvironmentAction
 SEEnvironmentAction ()
 
virtual ~SEEnvironmentAction ()
 
- Public Member Functions inherited from SEAction
 SEAction ()
 
virtual ~SEAction ()
 
virtual bool IsActive () const
 
virtual std::string GetComment () const
 
virtual void SetComment (const std::string &comment)
 
virtual bool HasComment () const
 
virtual void InvalidateComment ()
 
- Public Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 

Protected Attributes

SESubstanceManagerm_Substances
 
std::string m_ConditionsFile
 
SEEnvironmentalConditionsm_Conditions
 
- Protected Attributes inherited from SEAction
std::string m_Comment
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBEnvironmentAction
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEChangeEnvironmentConditions()

SEChangeEnvironmentConditions::SEChangeEnvironmentConditions ( SESubstanceManager substances)

◆ ~SEChangeEnvironmentConditions()

SEChangeEnvironmentConditions::~SEChangeEnvironmentConditions ( )
virtual

Member Function Documentation

◆ Clear()

void SEChangeEnvironmentConditions::Clear ( )
virtual

Reimplemented from SEEnvironmentAction.

◆ Copy()

void SEChangeEnvironmentConditions::Copy ( const SEChangeEnvironmentConditions src)
virtual

◆ GetConditions() [1/2]

SEEnvironmentalConditions & SEChangeEnvironmentConditions::GetConditions ( )
virtual

◆ GetConditions() [2/2]

const SEEnvironmentalConditions * SEChangeEnvironmentConditions::GetConditions ( ) const
virtual

◆ GetConditionsFile()

std::string SEChangeEnvironmentConditions::GetConditionsFile ( ) const
virtual

◆ HasConditions()

bool SEChangeEnvironmentConditions::HasConditions ( ) const
virtual

◆ HasConditionsFile()

bool SEChangeEnvironmentConditions::HasConditionsFile ( ) const
virtual

◆ InvalidateConditionsFile()

void SEChangeEnvironmentConditions::InvalidateConditionsFile ( )
virtual

◆ IsValid()

bool SEChangeEnvironmentConditions::IsValid ( ) const
virtual

Test if the action has all data it needs

Reimplemented from SEEnvironmentAction.

◆ SetConditionsFile()

void SEChangeEnvironmentConditions::SetConditionsFile ( const std::string &  fileName)
virtual

◆ ToString()

void SEChangeEnvironmentConditions::ToString ( std::ostream &  str) const
virtual

Implements SEEnvironmentAction.

Friends And Related Function Documentation

◆ PBEnvironmentAction

friend class PBEnvironmentAction
friend

Member Data Documentation

◆ m_Conditions

SEEnvironmentalConditions* SEChangeEnvironmentConditions::m_Conditions
protected

◆ m_ConditionsFile

std::string SEChangeEnvironmentConditions::m_ConditionsFile
protected

◆ m_Substances

SESubstanceManager& SEChangeEnvironmentConditions::m_Substances
protected