SEElectricalCompartmentGraph Class Reference

#include <SEElectricalCompartmentLink.h>

Inherits SECompartmentGraph< SEElectricalCompartment, SEElectricalCompartmentLink >.

Public Member Functions

 SEElectricalCompartmentGraph (const std::string &name, Logger *logger)
 
virtual ~SEElectricalCompartmentGraph ()
 
- Public Member Functions inherited from SECompartmentGraph< SEElectricalCompartment, SEElectricalCompartmentLink >
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 LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
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
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 
- Protected Member Functions inherited from SECompartmentGraph< SEElectricalCompartment, SEElectricalCompartmentLink >
 SECompartmentGraph (const std::string &name, Logger *logger)
 
- Protected Attributes inherited from SECompartmentGraph< SEElectricalCompartment, SEElectricalCompartmentLink >
std::string m_Name
 
std::vector< CompartmentType *> m_Compartments
 
std::vector< CompartmentLinkType *> m_CompartmentLinks
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ SEElectricalCompartmentGraph()

SEElectricalCompartmentGraph::SEElectricalCompartmentGraph ( const std::string &  name,
Logger logger 
)
inline

◆ ~SEElectricalCompartmentGraph()

virtual SEElectricalCompartmentGraph::~SEElectricalCompartmentGraph ( )
inlinevirtual

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.