SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE > Class Template Reference

#include <SECompartmentNodes.h>

Inherits Loggable.

Public Member Functions

 SECompartmentNodes (Logger *logger)
 
virtual ~SECompartmentNodes ()
 
virtual void Clear ()
 
virtual void StateChange ()
 
virtual bool HasMapping () const
 
virtual bool HasMapping (const NodeType &n) const
 
virtual const std::vector< NodeType * > & GetNodes () const
 
virtual const std::vector< NodeType * > & GetQuantityNodes () const
 
virtual void RemoveNode (NodeType &node)
 
virtual void MapNode (NodeType &node)
 
virtual bool HasQuantity () const
 
virtual QuantityScalar & GetQuantity ()
 
virtual double GetQuantity (const QuantityUnit &unit) const
 
virtual bool HasPotential () const
 
virtual PotentialScalar & GetPotential ()
 
virtual double GetPotential (const PotentialUnit &unit) 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 Member Functions

void SortNode (NodeType &node)
 

Protected Attributes

std::vector< NodeType * > m_QuantityNodes
 
std::vector< NodeType * > m_AllNodes
 
QuantityScalar * m_Quantity
 
PotentialScalar * m_Potential
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBCompartment
 

Constructor & Destructor Documentation

◆ SECompartmentNodes()

template<COMPARTMENT_NODE_TEMPLATE >
SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::SECompartmentNodes ( Logger logger)

◆ ~SECompartmentNodes()

template<COMPARTMENT_NODE_TEMPLATE >
SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::~SECompartmentNodes
virtual

Member Function Documentation

◆ Clear()

template<COMPARTMENT_NODE_TEMPLATE >
void SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::Clear
virtual

◆ GetNodes()

template<COMPARTMENT_NODE_TEMPLATE >
virtual const std::vector< NodeType * > & SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::GetNodes ( ) const
inlinevirtual

◆ GetPotential() [1/2]

template<COMPARTMENT_NODE_TEMPLATE >
PotentialScalar & SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::GetPotential
virtual

◆ GetPotential() [2/2]

template<COMPARTMENT_NODE_TEMPLATE >
double SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::GetPotential ( const PotentialUnit &  unit) const
virtual

◆ GetQuantity() [1/2]

template<COMPARTMENT_NODE_TEMPLATE >
QuantityScalar & SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::GetQuantity
virtual

◆ GetQuantity() [2/2]

template<COMPARTMENT_NODE_TEMPLATE >
double SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::GetQuantity ( const QuantityUnit &  unit) const
virtual

◆ GetQuantityNodes()

template<COMPARTMENT_NODE_TEMPLATE >
virtual const std::vector< NodeType * > & SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::GetQuantityNodes ( ) const
inlinevirtual

◆ HasMapping() [1/2]

template<COMPARTMENT_NODE_TEMPLATE >
virtual bool SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::HasMapping ( ) const
inlinevirtual

◆ HasMapping() [2/2]

template<COMPARTMENT_NODE_TEMPLATE >
virtual bool SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::HasMapping ( const NodeType &  n) const
inlinevirtual

◆ HasPotential()

template<COMPARTMENT_NODE_TEMPLATE >
bool SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::HasPotential
virtual

◆ HasQuantity()

template<COMPARTMENT_NODE_TEMPLATE >
virtual bool SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::HasQuantity ( ) const
inlinevirtual

◆ MapNode()

template<COMPARTMENT_NODE_TEMPLATE >
void SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::MapNode ( NodeType &  node)
virtual

◆ RemoveNode()

template<COMPARTMENT_NODE_TEMPLATE >
void SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::RemoveNode ( NodeType &  node)
virtual

◆ SortNode()

template<COMPARTMENT_NODE_TEMPLATE >
void SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::SortNode ( NodeType &  node)
protected

◆ StateChange()

template<COMPARTMENT_NODE_TEMPLATE >
void SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::StateChange
virtual

Friends And Related Function Documentation

◆ PBCompartment

template<COMPARTMENT_NODE_TEMPLATE >
friend class PBCompartment
friend

Member Data Documentation

◆ m_AllNodes

template<COMPARTMENT_NODE_TEMPLATE >
std::vector<NodeType*> SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::m_AllNodes
protected

◆ m_Potential

template<COMPARTMENT_NODE_TEMPLATE >
PotentialScalar* SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::m_Potential
protected

◆ m_Quantity

template<COMPARTMENT_NODE_TEMPLATE >
QuantityScalar* SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::m_Quantity
protected

◆ m_QuantityNodes

template<COMPARTMENT_NODE_TEMPLATE >
std::vector<NodeType*> SECompartmentNodes< COMPARTMENT_NODE_TEMPLATE >::m_QuantityNodes
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.