#include <SECompartmentGraph.h>
Inherits Loggable.
Public Member Functions | |
virtual | ~SECompartmentGraph () |
virtual void | Clear () |
virtual std::string | GetName () const |
virtual void | AddCompartment (CompartmentType &cmpt) |
virtual void | ForceAddCompartment (CompartmentType &cmpt) |
virtual CompartmentType * | GetCompartment (const std::string &name) |
virtual const CompartmentType * | GetCompartment (const std::string &name) const |
virtual const std::vector< CompartmentType * > & | GetCompartments () const |
virtual void | RemoveCompartment (const CompartmentType &cmpt) |
virtual void | RemoveCompartment (const std::string &name) |
virtual void | AddLink (CompartmentLinkType &link) |
virtual void | ForceAddLink (CompartmentLinkType &link) |
virtual CompartmentLinkType * | GetLink (const std::string &name) |
virtual const CompartmentLinkType * | GetLink (const std::string &name) const |
virtual const std::vector< CompartmentLinkType * > & | GetLinks () const |
virtual void | RemoveLink (const CompartmentLinkType &link) |
virtual void | RemoveLink (const std::string &name) |
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 | |
SECompartmentGraph (const std::string &name, Logger *logger) | |
Protected Attributes | |
std::string | m_Name |
std::vector< CompartmentType * > | m_Compartments |
std::vector< CompartmentLinkType * > | m_CompartmentLinks |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Friends | |
class | PBCompartment |
Constructor & Destructor Documentation
◆ SECompartmentGraph()
|
protected |
◆ ~SECompartmentGraph()
|
virtual |
Member Function Documentation
◆ AddCompartment()
|
virtual |
◆ AddLink()
|
virtual |
◆ Clear()
|
virtual |
Reimplemented in SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >, SECompartmentTransportGraph< SEGasTransportGraph, SEGasTransportVertex, SEGasTransportEdge, SEGasCompartment, SEGasCompartmentLink >, and SECompartmentTransportGraph< SELiquidTransportGraph, SELiquidTransportVertex, SELiquidTransportEdge, SELiquidCompartment, SELiquidCompartmentLink >.
◆ ForceAddCompartment()
|
virtual |
◆ ForceAddLink()
|
virtual |
◆ GetCompartment() [1/2]
|
virtual |
◆ GetCompartment() [2/2]
|
virtual |
◆ GetCompartments()
|
virtual |
◆ GetLink() [1/2]
|
virtual |
◆ GetLink() [2/2]
|
virtual |
◆ GetLinks()
|
virtual |
◆ GetName()
|
virtual |
Reimplemented in SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >, SECompartmentTransportGraph< SEGasTransportGraph, SEGasTransportVertex, SEGasTransportEdge, SEGasCompartment, SEGasCompartmentLink >, and SECompartmentTransportGraph< SELiquidTransportGraph, SELiquidTransportVertex, SELiquidTransportEdge, SELiquidCompartment, SELiquidCompartmentLink >.
◆ RemoveCompartment() [1/2]
|
virtual |
◆ RemoveCompartment() [2/2]
|
virtual |
◆ RemoveLink() [1/2]
|
virtual |
◆ RemoveLink() [2/2]
|
virtual |
Friends And Related Function Documentation
◆ PBCompartment
|
friend |
Member Data Documentation
◆ m_CompartmentLinks
|
protected |
◆ m_Compartments
|
protected |
◆ m_Name
|
protected |