#include <PrjAirflowElements.hpp>
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 AirflowElement * | readElement (Reader &input) |
Read an airflow element from a Reader object. More... | |
The AirflowElement object is the base class of all airflow elements.
|
virtualdefault |
Destroy the object.
|
static |
Convert an input string into an airflow element type enum.
|
pure virtual |
Returns the element data type.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfePsq, openstudio::contam::AfePsf, openstudio::contam::AfeQsp, openstudio::contam::AfeFsp, openstudio::contam::AfeFan, openstudio::contam::AfeCvf, openstudio::contam::AfeCmf, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrFab, openstudio::contam::QfrQab, openstudio::contam::QfrGeneral, openstudio::contam::PlrBdf, openstudio::contam::PlrBdq, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrFcn, openstudio::contam::PlrQcn, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak3, openstudio::contam::PlrLeak2, openstudio::contam::PlrLeak1, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Returns the element description.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Returns the icon used to represent flow path.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Returns the element name.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Returns the element number, in order from 1 to the number of airflow elements.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
static |
Read an airflow element from a Reader object.
|
pure virtual |
Sets the element description.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Sets the icon used to represent flow path.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Sets the element name.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Sets the element number.
This should only be done with care.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.
|
pure virtual |
Write the object to a string.
Implemented in openstudio::contam::AfeSup, openstudio::contam::AfeCsf, openstudio::contam::AfeFan, openstudio::contam::AfeFlow, openstudio::contam::DrPl2, openstudio::contam::AfeDor, openstudio::contam::QfrTest2, openstudio::contam::QfrCrack, openstudio::contam::QfrGeneral, openstudio::contam::PlrBackDamper, openstudio::contam::PlrShaft, openstudio::contam::PlrStair, openstudio::contam::PlrCrack, openstudio::contam::PlrTest2, openstudio::contam::PlrTest1, openstudio::contam::PlrGeneral, openstudio::contam::PlrConn, openstudio::contam::PlrLeak, and openstudio::contam::PlrOrf.