VICUS Library
Documentation of Vicus library
|
#include <VICUS_Window.h>
Public Types | |
enum | Method { M_None , M_Fraction , M_ConstantWidth , NUM_M } |
enum | para_t { P_FrameWidth , P_FrameFraction , P_DividerWidth , P_DividerFraction , P_ReductionFactor , NUM_P } |
Public Types inherited from VICUS::AbstractDBElement | |
enum | ComparisonResult { Equal , OnlyMetaDataDiffers , Different } |
Public Member Functions | |
VICUS_READWRITE_OVERRIDE VICUS_COMPARE_WITH_ID ComparisonResult | equal (const AbstractDBElement *other) const override |
bool | isValid () const |
bool | calculateUValue (double &UValue, const VICUS::Database< Material > &materials, const VICUS::Database< WindowGlazingSystem > &glazingSystems, double ri, double re) const |
Public Member Functions inherited from VICUS::AbstractDBElement | |
AbstractDBElement ()=default | |
AbstractDBElement (unsigned int id, const IBK::MultiLanguageString &name) | |
virtual | ~AbstractDBElement () |
virtual void | readXML (const TiXmlElement *element)=0 |
virtual TiXmlElement * | writeXML (TiXmlElement *parent) const =0 |
void | collectChildren (std::set< const AbstractDBElement * > &allChildrenRefs) const |
void | collectLocalChildren (std::set< AbstractDBElement * > &localChildrenRefs) const |
const QString | sourceName () const |
Public Attributes | |
unsigned int | m_idGlazingSystem = INVALID_ID |
QString | m_notes |
QString | m_dataSource |
Method | m_methodFrame = NUM_M |
Method | m_methodDivider = NUM_M |
IBK::Parameter | m_para [NUM_P] |
WindowFrame | m_frame |
WindowDivider | m_divider |
Public Attributes inherited from VICUS::AbstractDBElement | |
unsigned int | m_id = INVALID_ID |
IBK::MultiLanguageString | m_displayName |
QColor | m_color |
bool | m_builtIn = false |
bool | m_local = true |
std::set< AbstractDBElement * > | m_childrenRefs |
bool | m_isReferenced = false |
std::string | m_errorMsg |
Data for a window (embedded object), defined through glazing system, frame a dividers.
bool VICUS::Window::calculateUValue | ( | double & | UValue, |
const VICUS::Database< Material > & | materials, | ||
const VICUS::Database< WindowGlazingSystem > & | glazingSystems, | ||
double | ri, | ||
double | re | ||
) | const |
Computes the u-Value.
|
overridevirtual |
Comparison operator
Implements VICUS::AbstractDBElement.
bool VICUS::Window::isValid | ( | ) | const |
Checks if references glazing system exist and if all parameters are valid.
QString VICUS::Window::m_dataSource |
Data source.
WindowDivider VICUS::Window::m_divider |
Divider parameters (optional).
WindowFrame VICUS::Window::m_frame |
Frame parameters (optional).
unsigned int VICUS::Window::m_idGlazingSystem = INVALID_ID |
ID of glazing system referenced from this window definition.
QString VICUS::Window::m_notes |
Notes.
IBK::Parameter VICUS::Window::m_para[NUM_P] |
Parameter.