|
VICUS Library
Documentation of Vicus library
|
#include <VICUS_EPDDataset.h>
Public Types | |
| enum | para_t { P_BasisWeight , P_Density , P_GWP , P_ODP , P_POCP , P_AP , P_EP , P_PENRT , P_PERT , NUM_P } |
| enum | Category { C_A1 , C_A2 , C_A1_A2 , C_A3 , C_A1_A3 , C_B6 , C_C2 , C_C2_3 , C_C2_C4 , C_C3 , C_C3_C4 , C_C4 , C_D , NUM_C } |
| enum | Mode { M_Generic , M_Specific , M_Average , M_Representative , M_Template , NUM_M } |
Public Types inherited from VICUS::AbstractDBElement | |
| enum | ComparisonResult { Equal , OnlyMetaDataDiffers , Different } |
Public Member Functions | |
| VICUS_READWRITE_OVERRIDE bool | behavesLike (const EPDDataset &other) const |
| ComparisonResult | equal (const AbstractDBElement *other) const override |
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 | |
| QString | m_uuid |
| QString | m_notes |
| QString | m_manufacturer |
| QString | m_dataSource |
| QString | m_expireDate |
| QString | m_referenceUnit |
| double | m_referenceQuantity |
| Mode | m_subtype = NUM_M |
| Category | m_category = NUM_C |
| IBK::Parameter | m_para [NUM_P] |
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 |
TODO wait for implementation
Basic parameters.
| bool VICUS::EPDDataset::behavesLike | ( | const EPDDataset & | other | ) | const |
checks the parameters referenceunit, referencequantity, the categories and the different values of the EPDs to see if the EPDDatest exists already and has the latest version.
|
overridevirtual |
Comparison operator
Implements VICUS::AbstractDBElement.
| QString VICUS::EPDDataset::m_dataSource |
Data source.
| QString VICUS::EPDDataset::m_expireDate |
Expire date for valid epd dataset.
| QString VICUS::EPDDataset::m_manufacturer |
Manufacturer.
| QString VICUS::EPDDataset::m_notes |
Notes.
| IBK::Parameter VICUS::EPDDataset::m_para[NUM_P] |
List of parameters.
| double VICUS::EPDDataset::m_referenceQuantity |
Reference quantity.
| QString VICUS::EPDDataset::m_referenceUnit |
Reference unit.
| QString VICUS::EPDDataset::m_uuid |
UUID of material.