#include <PrjAirflowElements.hpp>
Public Types | |
enum | Type { PL_ORFC =0, PL_LEAK1 =1, PL_LEAK2 =2, PL_LEAK3 =3, PL_CONN =4, PL_QCN =5, PL_FCN =6, PL_TEST1 =7, PL_TEST2 =8, PL_CRACK =9, PL_STAIR =10, PL_SHAFT =11, PL_BDQ =12, PL_BDF =13, QFR_QAB =14, QFR_QAF =15, QFR_CRACK =16, QFR_TEST2 =17, DR_DOOR =18, DR_PL2 =19, FN_CMF =20, FN_CVF =21, FN_FAN =22, CS_FSP =23, CS_QSP =24, CS_PSF =25, CS_PSQ =26, AF_SUP =27, UNKNOWN } |
The Type enumeration is used to identify the various airflow element types. More... | |
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 () |
Destroy the object. More... | |
Static Public Member Functions | |
static Type | convertTag (std::string string) |
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.
The Type enumeration is used to identify the various airflow element types.
|
inlinevirtual |
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.