VICUS Library
Documentation of Vicus library
Loading...
Searching...
No Matches
VICUS::Window Class Reference

#include <VICUS_Window.h>

Inheritance diagram for VICUS::Window:
[legend]

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
 

Detailed Description

Data for a window (embedded object), defined through glazing system, frame a dividers.

Member Enumeration Documentation

◆ Method

Enumerator
M_None 
M_Fraction 
M_ConstantWidth 
NUM_M 

◆ para_t

Enumerator
P_FrameWidth 
P_FrameFraction 
P_DividerWidth 
P_DividerFraction 
P_ReductionFactor 
NUM_P 

Member Function Documentation

◆ calculateUValue()

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.

◆ equal()

AbstractDBElement::ComparisonResult VICUS::Window::equal ( const AbstractDBElement other) const
overridevirtual

Comparison operator

Implements VICUS::AbstractDBElement.

◆ isValid()

bool VICUS::Window::isValid ( ) const

Checks if references glazing system exist and if all parameters are valid.

Member Data Documentation

◆ m_dataSource

QString VICUS::Window::m_dataSource

Data source.

◆ m_divider

WindowDivider VICUS::Window::m_divider

Divider parameters (optional).

◆ m_frame

WindowFrame VICUS::Window::m_frame

Frame parameters (optional).

◆ m_idGlazingSystem

unsigned int VICUS::Window::m_idGlazingSystem = INVALID_ID

ID of glazing system referenced from this window definition.

◆ m_methodDivider

Method VICUS::Window::m_methodDivider = NUM_M

Method for Divider.

◆ m_methodFrame

Method VICUS::Window::m_methodFrame = NUM_M

Method for frame.

◆ m_notes

QString VICUS::Window::m_notes

Notes.

◆ m_para

IBK::Parameter VICUS::Window::m_para[NUM_P]

Parameter.


The documentation for this class was generated from the following files: