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

#include <VICUS_EPDDataset.h>

Inheritance diagram for VICUS::EPDDataset:
[legend]

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
 

Detailed Description

TODO wait for implementation

Member Enumeration Documentation

◆ Category

Enumerator
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 

◆ Mode

Enumerator
M_Generic 
M_Specific 
M_Average 
M_Representative 
M_Template 
NUM_M 

◆ para_t

Basic parameters.

Enumerator
P_BasisWeight 

Mass of material in dependence to the area.

P_Density 

Dry density of the material.

P_GWP 

Global Warming Potential.

P_ODP 

Depletion potential of the stratospheric ozone layer .

P_POCP 

Photochemical Ozone Creation Potential .

P_AP 

Acidification potential .

P_EP 

Eutrophication potential.

P_PENRT 

Total use of non-renewable primary energy resources.

P_PERT 

Total use of renewable primary energy resources .

NUM_P 

Member Function Documentation

◆ behavesLike()

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.

◆ equal()

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

Comparison operator

Implements VICUS::AbstractDBElement.

Member Data Documentation

◆ m_category

Category VICUS::EPDDataset::m_category = NUM_C

Category type A1, A2, ...

◆ m_dataSource

QString VICUS::EPDDataset::m_dataSource

Data source.

◆ m_expireDate

QString VICUS::EPDDataset::m_expireDate

Expire date for valid epd dataset.

◆ m_manufacturer

QString VICUS::EPDDataset::m_manufacturer

Manufacturer.

◆ m_notes

QString VICUS::EPDDataset::m_notes

Notes.

◆ m_para

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

List of parameters.

◆ m_referenceQuantity

double VICUS::EPDDataset::m_referenceQuantity

Reference quantity.

◆ m_referenceUnit

QString VICUS::EPDDataset::m_referenceUnit

Reference unit.

◆ m_subtype

Mode VICUS::EPDDataset::m_subtype = NUM_M

Sub type element.

◆ m_uuid

QString VICUS::EPDDataset::m_uuid

UUID of material.


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