![]() |
EPANET-RTX
1.1
real-time extension for the EPANET toolkit
|
#include <Node.h>
Public Types | |
| typedef boost::shared_ptr< Node > | sharedPointer |
Public Types inherited from RTX::Element | |
| enum | element_t { JUNCTION, TANK, RESERVOIR, PIPE, PUMP, VALVE, DMA } |
|
typedef boost::shared_ptr < Element > | sharedPointer |
Public Member Functions | |
| std::pair< double, double > | coordinates () |
| virtual void | setCoordinates (double x, double y) |
| double | elevation () |
| virtual void | setElevation (double elevation) |
|
std::vector< boost::shared_ptr < Link > > | links () |
Public Member Functions inherited from RTX::Element | |
| virtual std::ostream & | toStream (std::ostream &stream) |
| element_t | type () |
| void | setName (const std::string &newName) |
| std::string | name () |
| virtual void | setRecord (PointRecord::sharedPointer record) |
| std::string | userDescription () |
| void | setUserDescription (const std::string &description) |
Protected Member Functions | |
| Node (const std::string &name) | |
| void | addLink (boost::shared_ptr< Link > link) |
Protected Member Functions inherited from RTX::Element | |
| Element (const std::string &name) | |
| void | setType (element_t type) |
Friends | |
| class | Model |
Node Class.
A Node is a purely topological construct. It has x,y,z coordinates and references to Links.