Skip to content

Building Element Attribute List

Class full path: BuildingElementAttributeList.BuildingElementAttributeList

Implementation of the attribute list

Functions

__iadd__(other)

implement the += operator

Parameters:

Name Type Description Default
other BuildingElementAttributeList

attribute list to add

required

Returns:

Type Description
BuildingElementAttributeList

attribute list

__init__()

initialize

__repr__()

create the data as string

Returns:

Type Description
str

data string

__visit_ByteVec(attribute_id, attribute_value)

add a byte vector attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_Date(attribute_id, attribute_value)

add a date attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_Double(attribute_id, attribute_value)

add a double attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_DoubleVec(attribute_id, attribute_value)

add an double vector attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_Enum(attribute_id, attribute_value)

add an enum attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_Integer(attribute_id, attribute_value)

add an integer attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_IntegerVec(attribute_id, attribute_value)

add an integer vector attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_String(attribute_id, attribute_value)

add a string attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_StringVec(attribute_id, attribute_value)

add a string vector attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

__visit_Undef(attribute_id, _attribute_value)

undefined attribute

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
_attribute_value Any

attribute value

required

__visit_WString(attribute_id, attribute_value)

add a wstring attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

add_attribute(attribute_id, attribute_value)

add an attribute to the list

Parameters:

Name Type Description Default
attribute_id int

attribute ID

required
attribute_value Any

attribute value

required

add_attribute_list(attribute_list)

add an attribute list

Parameters:

Name Type Description Default
attribute_list List[Attribute]

attribute list

required

add_attributes(attributes)

add attributes to the list

Parameters:

Name Type Description Default
attributes List[Tuple[int, Any]]

attribute list

required

add_attributes_from_parameters(build_ele)

add the attributes from the parameter attributes

Parameters:

Name Type Description Default
build_ele BuildingElement

building element with the parameter properties

required

get_attribute_list()

get the attribute list

Returns:

Type Description
List[Attribute]

attribute list