OpenStudio:airflow
 All Classes Namespaces Functions Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | List of all members
openstudio::contam::AirflowElement Class Referenceabstract

#include <PrjAirflowElements.hpp>

+ Inheritance diagram for openstudio::contam::AirflowElement:

Public Member Functions

virtual std::string dataType () const =0
 Returns the element data type. More...
 
virtual std::string desc () const =0
 Returns the element description. More...
 
virtual int icon () const =0
 Returns the icon used to represent flow path. More...
 
virtual std::string name () const =0
 Returns the element name. More...
 
virtual int nr () const =0
 Returns the element number, in order from 1 to the number of airflow elements. More...
 
virtual void setDesc (const std::string &desc)=0
 Sets the element description. More...
 
virtual void setIcon (const int icon)=0
 Sets the icon used to represent flow path. More...
 
virtual void setName (const std::string &name)=0
 Sets the element name. More...
 
virtual void setNr (const int nr)=0
 Sets the element number. More...
 
virtual std::string write ()=0
 Write the object to a string. More...
 
virtual ~AirflowElement ()=default
 Destroy the object. More...
 

Static Public Member Functions

static AirflowElementType convertTag (const std::string &tag)
 Convert an input string into an airflow element type enum. More...
 
static AirflowElementreadElement (Reader &input)
 Read an airflow element from a Reader object. More...
 

Detailed Description

The AirflowElement object is the base class of all airflow elements.

Constructor & Destructor Documentation

virtual openstudio::contam::AirflowElement::~AirflowElement ( )
virtualdefault

Destroy the object.

Member Function Documentation

static AirflowElementType openstudio::contam::AirflowElement::convertTag ( const std::string &  tag)
static

Convert an input string into an airflow element type enum.

virtual std::string openstudio::contam::AirflowElement::dataType ( ) const
pure virtual
virtual std::string openstudio::contam::AirflowElement::desc ( ) const
pure virtual
virtual int openstudio::contam::AirflowElement::icon ( ) const
pure virtual
virtual std::string openstudio::contam::AirflowElement::name ( ) const
pure virtual
virtual int openstudio::contam::AirflowElement::nr ( ) const
pure virtual
static AirflowElement* openstudio::contam::AirflowElement::readElement ( Reader input)
static

Read an airflow element from a Reader object.

virtual void openstudio::contam::AirflowElement::setDesc ( const std::string &  desc)
pure virtual
virtual void openstudio::contam::AirflowElement::setIcon ( const int  icon)
pure virtual
virtual void openstudio::contam::AirflowElement::setName ( const std::string &  name)
pure virtual
virtual void openstudio::contam::AirflowElement::setNr ( const int  nr)
pure virtual
virtual std::string openstudio::contam::AirflowElement::write ( )
pure virtual