EPANET-RTX  1.1
real-time extension for the EPANET toolkit
Public Types | Public Member Functions | Protected Member Functions | List of all members
RTX::Element Class Reference

Element Base Class. More...

#include <Element.h>

Inheritance diagram for RTX::Element:
[legend]

Public Types

enum  element_t {
  JUNCTION, TANK, RESERVOIR, PIPE,
  PUMP, VALVE, DMA
}
 
typedef boost::shared_ptr
< Element
sharedPointer
 

Public Member Functions

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

 Element (const std::string &name)
 
void setType (element_t type)
 

Detailed Description

Element Base Class.

Properties common to all elements.


The documentation for this class was generated from the following files: