#include <PrjAirflowElements.hpp>
Inheritance diagram for openstudio::contam::PlrQcn:Public Member Functions | |
Constructors and Destructors | |
| PlrQcn () | |
| Create a new object with default values. | |
| PlrQcn (int nr, int icon, std::string name, std::string desc) | |
| Create a new object. | |
| PlrQcn (int nr, int icon, std::string name, std::string desc, double lam, double turb, double expt) | |
| Create a new object. | |
| PlrQcn (int nr, int icon, std::string name, std::string desc, std::string lam, std::string turb, std::string expt) | |
| Create a new object. | |
| virtual | ~PlrQcn () override=default |
| Destroy the object. | |
Getters and Setters | |
| std::string | dataType () const override |
| Returns the element data type. | |
Public Member Functions inherited from openstudio::contam::PlrGeneral | |
| PlrGeneral () | |
| Create a new object with default values. | |
| PlrGeneral (int nr, int icon, std::string name, std::string desc) | |
| Create a new object. | |
| PlrGeneral (int nr, int icon, std::string name, std::string desc, double lam, double turb, double expt) | |
| Create a new object. | |
| PlrGeneral (int nr, int icon, std::string name, std::string desc, std::string lam, std::string turb, std::string expt) | |
| Create a new object. | |
| PlrGeneral (const PlrGeneral &other) | |
| Create a new object from another object. | |
| virtual | ~PlrGeneral () override=default |
| Destroy the object. | |
| PlrGeneral & | operator= (const PlrGeneral &other) |
| Copy operator. | |
| bool | operator== (const PlrGeneral &other) const |
| Equality operator. | |
| bool | operator!= (const PlrGeneral &other) const |
| Inequality operator. | |
| void | read (Reader &input) |
| Read an object from a Reader. | |
| void | readDetails (Reader &input) |
| Read object details from a Reader. | |
| std::string | write () override |
| Write the object to a string. | |
| int | nr () const override |
| Returns the element number, in order from 1 to the number of airflow elements. | |
| void | setNr (const int nr) override |
| Sets the element number. | |
| int | icon () const override |
| Returns the icon used to represent flow path. | |
| void | setIcon (const int icon) override |
| Sets the icon used to represent flow path. | |
| std::string | name () const override |
| Returns the element name. | |
| void | setName (const std::string &name) override |
| Sets the element name. | |
| std::string | desc () const override |
| Returns the element description. | |
| void | setDesc (const std::string &desc) override |
| Sets the element description. | |
| double | lam () const |
| Returns the laminar flow coefficient. | |
| bool | setLam (const double lam) |
| Sets the laminar flow coefficient. | |
| bool | setLam (const std::string &lam) |
| Sets the laminar flow coefficient. | |
| double | turb () const |
| Returns the turbulent flow coefficient. | |
| bool | setTurb (const double turb) |
| Sets the turbulent flow coefficient. | |
| bool | setTurb (const std::string &turb) |
| Sets the turbulent flow coefficient. | |
| double | expt () const |
| Returns the pressure exponent. | |
| bool | setExpt (const double expt) |
| Sets the pressure exponent. | |
| bool | setExpt (const std::string &expt) |
| Sets the pressure exponent. | |
Public Member Functions inherited from openstudio::contam::AirflowElement | |
| virtual | ~AirflowElement ()=default |
| Destroy the object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from openstudio::contam::AirflowElement | |
| static AirflowElementType | convertTag (const std::string &tag) |
| Convert an input string into an airflow element type enum. | |
| static AirflowElement * | readElement (Reader &input) |
| Read an airflow element from a Reader object. | |
The PlrQcn object is an airflow element representing volume flow rate power law leakage.
| openstudio::contam::PlrQcn::PlrQcn | ( | ) |
Create a new object with default values.
| openstudio::contam::PlrQcn::PlrQcn | ( | int | nr, |
| int | icon, | ||
| std::string | name, | ||
| std::string | desc ) |
Create a new object.
| openstudio::contam::PlrQcn::PlrQcn | ( | int | nr, |
| int | icon, | ||
| std::string | name, | ||
| std::string | desc, | ||
| double | lam, | ||
| double | turb, | ||
| double | expt ) |
Create a new object.
| openstudio::contam::PlrQcn::PlrQcn | ( | int | nr, |
| int | icon, | ||
| std::string | name, | ||
| std::string | desc, | ||
| std::string | lam, | ||
| std::string | turb, | ||
| std::string | expt ) |
Create a new object.
|
overridevirtualdefault |
Destroy the object.
|
inlineoverridevirtual |
Returns the element data type.
Implements openstudio::contam::PlrGeneral.