VICUS Library
Documentation of Vicus library
|
#include <VICUS_MaterialLayer.h>
Public Member Functions | |
MaterialLayer () | |
MaterialLayer (double thickness, unsigned int id) | |
MaterialLayer (IBK::Parameter thickness, unsigned int id) | |
VICUS_READWRITE bool | isValid (const VICUS::Database< VICUS::Material > &materials) const |
bool | operator!= (const MaterialLayer &other) const |
bool | operator== (const MaterialLayer &other) const |
Public Attributes | |
unsigned int | m_idMaterial = INVALID_ID |
IBK::Parameter | m_thickness |
std::string | m_errorMsg |
Stores data for a single material layer in a construction.
|
inline |
Default c'tor.
|
inline |
Simple Constructor with thickness in [m] and material id.
|
inline |
Simple Constructor with thickness and material id.
bool VICUS::MaterialLayer::isValid | ( | const VICUS::Database< VICUS::Material > & | materials | ) | const |
Checks if all referenced materials exist and if their parameters are valid.
|
inline |
Inequality operator.
|
inline |
Equality operator.
|
mutable |
Holds error string in order to give users a tooltip in db dialog.
unsigned int VICUS::MaterialLayer::m_idMaterial = INVALID_ID |
Unique ID of material.
IBK::Parameter VICUS::MaterialLayer::m_thickness |
Thickness of the material layer.