INetwork represents a graph structure of connected vertices and edges.
More...
#include <hydrocouplespatial.h>
|
| virtual | ~INetwork ()=default |
| | INetwork destructor.
|
| |
| virtual int | edgeCount () const =0 |
| | edgeCount represents the number of all the edges in the network.
|
| |
| virtual IEdge * | edge (int index) const =0 |
| | Gets the edge at the specified index in the network.
|
| |
| virtual int | vertexCount () const =0 |
| | Gets the number of vertices in the network.
|
| |
| virtual IVertex * | vertex (int index) const =0 |
| | Gets the vertex at the specified index in the network.
|
| |
| virtual | ~IIdentity ()=default |
| | IIdentity::~IIdentity is a virtual destructor.
|
| |
| virtual const std::string & | id () const =0 |
| | Gets a unique identifier for the entity.
|
| |
| virtual | ~IDescription ()=default |
| | IDescription::~IDescription is a virtual destructor.
|
| |
| virtual const std::string & | caption () const =0 |
| | Gets caption for the entity.
|
| |
| virtual void | setCaption (const std::string &caption)=0 |
| | Sets caption for the entity.
|
| |
| virtual const std::string & | description () const =0 |
| | Gets additional descriptive information for the entity.
|
| |
| virtual void | setDescription (const std::string &description)=0 |
| | Gets additional descriptive information for the entity.
|
| |
| virtual | ~IPropertyChanged ()=default |
| | IPropertyChanged::~IPropertyChanged is a virtual destructor.
|
| |
| virtual | ~ISignal ()=default |
| | ISignal::~ISignal is a virtual destructor.
|
| |
| virtual void | connect (const std::shared_ptr< ISlot< Args... > > &slot)=0 |
| | connect is used to connect a slot to the signal.
|
| |
| virtual void | disconnect (const std::shared_ptr< ISlot< Args... > > &slot)=0 |
| | disconnect is used to disconnect a slot from the signal.
|
| |
| virtual void | blockSignals (bool block)=0 |
| | blockSignals is used to block signals from being emitted.
|
| |
|
| virtual void | emit (Args... args)=0 |
| | emit is used to emit the signal.
|
| |
INetwork represents a graph structure of connected vertices and edges.
◆ ~INetwork()
| virtual HydroCouple::Spatial::INetwork::~INetwork |
( |
| ) |
|
|
virtualdefault |
◆ edge()
| virtual IEdge * HydroCouple::Spatial::INetwork::edge |
( |
int |
index | ) |
const |
|
pure virtual |
Gets the edge at the specified index in the network.
- Parameters
-
| index | of the edge in the network. |
- Returns
- The edge at the specified index.
◆ edgeCount()
| virtual int HydroCouple::Spatial::INetwork::edgeCount |
( |
| ) |
const |
|
pure virtual |
edgeCount represents the number of all the edges in the network.
- Returns
- Count of all the edges in the network.
◆ vertex()
| virtual IVertex * HydroCouple::Spatial::INetwork::vertex |
( |
int |
index | ) |
const |
|
pure virtual |
Gets the vertex at the specified index in the network.
- Parameters
-
| index | of the vertex in the network. |
- Returns
- The vertex at the specified index.
◆ vertexCount()
| virtual int HydroCouple::Spatial::INetwork::vertexCount |
( |
| ) |
const |
|
pure virtual |
Gets the number of vertices in the network.
- Returns
- Number of vertices in the network.
The documentation for this class was generated from the following file: