data

DataClass module

DataClass

This module holds file pathes and bindings for XML data

class teaser.data.dataclass.DataClass

Bases: object

Class for XML data bindings

This class loads all XML files with statistic or template data needed for statistical data enrichment. It creates the binding automatically. The binding needs the Python Package PyXB.

Parameters:

type_element_file : string

name of the XML file with the project specific type elements default: TypeBuildingElements.xml for general investigation, this file can be exchanged to project specific files.

Attributes

element_bind (instance of PyXB TypeBuilding elements) PyXB instance of the TypeBuildingElements binding
conditions_bind (instance of PyXB UseConditions) PyXB instance of the UseConditions binding
material_bind (instance of PyXB Material) PyXB instance of the Material binding

Methods

load_mat_binding()

loads specified material XML files into bindings

load_tb_binding()

loads specified type building XML files into bindings

load_uc_binding()

loads specified use condition XML files into bindings