diff --git a/src/ifcopenshell-python/ifcopenshell/express/header.py b/src/ifcopenshell-python/ifcopenshell/express/header.py index 8900d6692a..4cc8c8ea84 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/header.py +++ b/src/ifcopenshell-python/ifcopenshell/express/header.py @@ -26,6 +26,7 @@ import documentation from collections import defaultdict +USE_VIRTUAL_INHERITANCE = True class Header(codegen.Base): def __init__(self, mapping): @@ -50,7 +51,7 @@ class Header(codegen.Base): for name, type in mapping.schema.selects.items(): for nm in type.values: select_super_types[str(nm).lower()].append(name) - write(templates.select, name=name) + write(templates.select_virtual if USE_VIRTUAL_INHERITANCE else templates.select_plain, name=name) def get_select_super_types(nm, bases=[]): x = list(select_super_types[nm.lower()]) @@ -82,7 +83,9 @@ class Header(codegen.Base): superclass = mapping.simple_type_parent(superclass) else: superclasses.append("IfcUtil::IfcBaseType") - superclasses.extend(get_select_super_types(name, bases=all_superclasses)) + + if USE_VIRTUAL_INHERITANCE: + superclasses.extend(get_select_super_types(name, bases=all_superclasses)) is_emitted = ( lambda nm: nm == "IfcUtil::IfcBaseType" @@ -155,8 +158,8 @@ class Header(codegen.Base): tt = mapping.schema.entities[tt.supertypes[0]] supertypes = list(type.supertypes) if len(type.supertypes) else ["IfcUtil::IfcBaseEntity"] - direct_superclass = supertypes[0] - supertypes.extend(get_select_super_types(name, bases=all_supertypes)) + if USE_VIRTUAL_INHERITANCE: + supertypes.extend(get_select_super_types(name, bases=all_supertypes)) supertypes = list(map(case_normalize, supertypes)) superclass = create_supertype_statement(supertypes) diff --git a/src/ifcopenshell-python/ifcopenshell/express/implementation.py b/src/ifcopenshell-python/ifcopenshell/express/implementation.py index 421d96a94f..cc45894dcd 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/implementation.py +++ b/src/ifcopenshell-python/ifcopenshell/express/implementation.py @@ -22,6 +22,8 @@ import templates from schema import OrderedCaseInsensitiveDict +from header import USE_VIRTUAL_INHERITANCE + class Implementation(codegen.Base): def __init__(self, mapping): @@ -68,14 +70,15 @@ class Implementation(codegen.Base): ), ) - for name, enum in mapping.schema.selects.items(): - write( - templates.select_function, - name=name, - schema_name=schema_name, - schema_name_upper=schema_name_upper, - index_in_schema=self.names.index(str(name)), - ) + if USE_VIRTUAL_INHERITANCE: + for name, enum in mapping.schema.selects.items(): + write( + templates.select_function, + name=name, + schema_name=schema_name, + schema_name_upper=schema_name_upper, + index_in_schema=self.names.index(str(name)), + ) write = lambda str, **kwargs: entity_implementations.append(str % kwargs) @@ -98,6 +101,7 @@ class Implementation(codegen.Base): def find_template(arg): simple = mapping.schema.is_simpletype(arg["list_instance_type"]) + select = arg["list_instance_type"] == "IfcUtil::IfcBaseClass" express = ( mapping.flatten_type_string(arg["list_instance_type"]) in mapping.express_to_cpp_typemapping ) @@ -105,7 +109,7 @@ class Implementation(codegen.Base): return templates.get_attr_stmt_enum elif arg["is_nested"] and arg["is_templated_list"]: return templates.get_attr_stmt_nested_array - elif arg["is_templated_list"] and not (simple or express): + elif arg["is_templated_list"] and not (select or simple or express): return templates.get_attr_stmt_array elif arg["non_optional_type"].endswith("*"): return templates.get_attr_stmt_entity diff --git a/src/ifcopenshell-python/ifcopenshell/express/mapping.py b/src/ifcopenshell-python/ifcopenshell/express/mapping.py index 3e2d819e1c..7ebac2478b 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/mapping.py +++ b/src/ifcopenshell-python/ifcopenshell/express/mapping.py @@ -23,6 +23,7 @@ import nodes import templates import schema +from header import USE_VIRTUAL_INHERITANCE class Mapping: @@ -180,12 +181,11 @@ class Mapping: ty = ty.replace("*", "") # https://github.com/IfcOpenShell/IfcOpenShell/issues/2805 - # This is no longer applicable, we do support statically typed select types as aggregates - # - # if self.schema.is_select(attr_type.type): - # type_str = templates.untyped_list + # We do support statically typed select types as aggregates when USE_VIRTUAL_INHERITANCE=True - if self.schema.is_simpletype(ty) or str(ty) in self.express_to_cpp_typemapping.values(): + if not USE_VIRTUAL_INHERITANCE and self.schema.is_select(attr_type.type): + type_str = templates.untyped_list + elif self.schema.is_simpletype(ty) or str(ty) in self.express_to_cpp_typemapping.values(): tmpl = templates.nested_array_type if is_nested_list else templates.array_type bounds = (attr_type.bounds.lower, attr_type.bounds.upper) if attr_type.bounds else (-1, -1) type_str = tmpl % {"instance_type": ty, "lower": bounds[0], "upper": bounds[1]} @@ -224,8 +224,8 @@ class Mapping: isinstance(v, nodes.SimpleType) and isinstance(v.type, nodes.StringType) ): return "string" - # if self.schema.is_select(v): - # return "IfcUtil::IfcBaseClass" + if not USE_VIRTUAL_INHERITANCE and self.schema.is_select(v): + return "IfcUtil::IfcBaseClass" if str(v) in self.schema.types or str(v) in self.schema.entities: return "::%s::%s" % (self.schema.name.capitalize(), v) else: diff --git a/src/ifcopenshell-python/ifcopenshell/express/templates.py b/src/ifcopenshell-python/ifcopenshell/express/templates.py index 031921468d..6c1dc0eca3 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/templates.py +++ b/src/ifcopenshell-python/ifcopenshell/express/templates.py @@ -136,7 +136,7 @@ simpletype_impl_cast_templated = ( ) simpletype_impl_declaration = "return *((IfcParse::type_declaration*)%(schema_name_upper)s_types[%(index_in_schema)d]);" -select = """%(documentation)s +select_virtual = """%(documentation)s class IFC_PARSE_API %(name)s : public virtual IfcUtil::IfcBaseInterface { public: static const IfcParse::select_type& Class(); @@ -144,6 +144,10 @@ public: }; """ +select_plain = """%(documentation)s +typedef IfcUtil::IfcBaseClass %(name)s; +""" + enumeration = """class IFC_PARSE_API %(name)s : public IfcUtil::IfcBaseType { %(documentation)s public: diff --git a/src/ifcparse/Ifc4x3_add2.cpp b/src/ifcparse/Ifc4x3_add2.cpp index 968f8966da..9afa4996e8 100644 --- a/src/ifcparse/Ifc4x3_add2.cpp +++ b/src/ifcparse/Ifc4x3_add2.cpp @@ -7660,7 +7660,7 @@ void Ifc4x3_add2::IfcActionRequest::setLongDescription(boost::optional< std::str const IfcParse::entity& Ifc4x3_add2::IfcActionRequest::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[2]); } const IfcParse::entity& Ifc4x3_add2::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[2]); } Ifc4x3_add2::IfcActionRequest::IfcActionRequest(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcActionRequest::IfcActionRequest(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_LongDescription) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +Ifc4x3_add2::IfcActionRequest::IfcActionRequest(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_LongDescription) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); }; populate_derived(); } // Function implementations for IfcActor ::Ifc4x3_add2::IfcActorSelect* Ifc4x3_add2::IfcActor::TheActor() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcActorSelect>(true); } @@ -7671,7 +7671,7 @@ void Ifc4x3_add2::IfcActor::setTheActor(::Ifc4x3_add2::IfcActorSelect* v) { set_ const IfcParse::entity& Ifc4x3_add2::IfcActor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[6]); } const IfcParse::entity& Ifc4x3_add2::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[6]); } Ifc4x3_add2::IfcActor::IfcActor(IfcEntityInstanceData&& e) : IfcObject(std::move(e)) { } -Ifc4x3_add2::IfcActor::IfcActor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect* v6_TheActor) : IfcObject(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_TheActor ? v6_TheActor->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcActor::IfcActor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect* v6_TheActor) : IfcObject(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_TheActor ? v6_TheActor->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcActorRole ::Ifc4x3_add2::IfcRoleEnum::Value Ifc4x3_add2::IfcActorRole::Role() const { return ::Ifc4x3_add2::IfcRoleEnum::FromString(data_.get_attribute_value(0)); } @@ -7686,7 +7686,7 @@ void Ifc4x3_add2::IfcActorRole::setDescription(boost::optional< std::string > v) const IfcParse::entity& Ifc4x3_add2::IfcActorRole::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[7]); } const IfcParse::entity& Ifc4x3_add2::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[7]); } Ifc4x3_add2::IfcActorRole::IfcActorRole(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcActorRole::IfcActorRole(::Ifc4x3_add2::IfcRoleEnum::Value v1_Role, boost::optional< std::string > v2_UserDefinedRole, boost::optional< std::string > v3_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +Ifc4x3_add2::IfcActorRole::IfcActorRole(::Ifc4x3_add2::IfcRoleEnum::Value v1_Role, boost::optional< std::string > v2_UserDefinedRole, boost::optional< std::string > v3_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }; populate_derived(); } // Function implementations for IfcActuator boost::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > Ifc4x3_add2::IfcActuator::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcActuatorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -7696,7 +7696,7 @@ void Ifc4x3_add2::IfcActuator::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcActuator::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[9]); } const IfcParse::entity& Ifc4x3_add2::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[9]); } Ifc4x3_add2::IfcActuator::IfcActuator(IfcEntityInstanceData&& e) : IfcDistributionControlElement(std::move(e)) { } -Ifc4x3_add2::IfcActuator::IfcActuator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcActuator::IfcActuator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcActuatorType ::Ifc4x3_add2::IfcActuatorTypeEnum::Value Ifc4x3_add2::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_add2::IfcActuatorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -7706,7 +7706,7 @@ void Ifc4x3_add2::IfcActuatorType::setPredefinedType(::Ifc4x3_add2::IfcActuatorT const IfcParse::entity& Ifc4x3_add2::IfcActuatorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[10]); } const IfcParse::entity& Ifc4x3_add2::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[10]); } Ifc4x3_add2::IfcActuatorType::IfcActuatorType(IfcEntityInstanceData&& e) : IfcDistributionControlElementType(std::move(e)) { } -Ifc4x3_add2::IfcActuatorType::IfcActuatorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcActuatorTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcActuatorType::IfcActuatorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcActuatorTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcAddress boost::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > Ifc4x3_add2::IfcAddress::Purpose() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAddressTypeEnum::FromString(data_.get_attribute_value(0)); } @@ -7722,7 +7722,7 @@ void Ifc4x3_add2::IfcAddress::setUserDefinedPurpose(boost::optional< std::string const IfcParse::entity& Ifc4x3_add2::IfcAddress::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[12]); } const IfcParse::entity& Ifc4x3_add2::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[12]); } Ifc4x3_add2::IfcAddress::IfcAddress(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcAddress::IfcAddress(boost::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_UserDefinedPurpose) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +Ifc4x3_add2::IfcAddress::IfcAddress(boost::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_UserDefinedPurpose) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); }; populate_derived(); } // Function implementations for IfcAdvancedBrep @@ -7730,7 +7730,7 @@ Ifc4x3_add2::IfcAddress::IfcAddress(boost::optional< ::Ifc4x3_add2::IfcAddressTy const IfcParse::entity& Ifc4x3_add2::IfcAdvancedBrep::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[14]); } const IfcParse::entity& Ifc4x3_add2::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[14]); } Ifc4x3_add2::IfcAdvancedBrep::IfcAdvancedBrep(IfcEntityInstanceData&& e) : IfcManifoldSolidBrep(std::move(e)) { } -Ifc4x3_add2::IfcAdvancedBrep::IfcAdvancedBrep(::Ifc4x3_add2::IfcClosedShell* v1_Outer) : IfcManifoldSolidBrep(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAdvancedBrep::IfcAdvancedBrep(::Ifc4x3_add2::IfcClosedShell* v1_Outer) : IfcManifoldSolidBrep(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAdvancedBrepWithVoids aggregate_of< ::Ifc4x3_add2::IfcClosedShell >::ptr Ifc4x3_add2::IfcAdvancedBrepWithVoids::Voids() const { aggregate_of_instance::ptr es = data_.get_attribute_value(1); return es->as< ::Ifc4x3_add2::IfcClosedShell >(); } @@ -7740,7 +7740,7 @@ void Ifc4x3_add2::IfcAdvancedBrepWithVoids::setVoids(aggregate_of< ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcAdvancedBrepWithVoids::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[15]); } const IfcParse::entity& Ifc4x3_add2::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[15]); } Ifc4x3_add2::IfcAdvancedBrepWithVoids::IfcAdvancedBrepWithVoids(IfcEntityInstanceData&& e) : IfcAdvancedBrep(std::move(e)) { } -Ifc4x3_add2::IfcAdvancedBrepWithVoids::IfcAdvancedBrepWithVoids(::Ifc4x3_add2::IfcClosedShell* v1_Outer, aggregate_of< ::Ifc4x3_add2::IfcClosedShell >::ptr v2_Voids) : IfcAdvancedBrep(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Voids)->generalize()); } +Ifc4x3_add2::IfcAdvancedBrepWithVoids::IfcAdvancedBrepWithVoids(::Ifc4x3_add2::IfcClosedShell* v1_Outer, aggregate_of< ::Ifc4x3_add2::IfcClosedShell >::ptr v2_Voids) : IfcAdvancedBrep(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Voids)->generalize());; populate_derived(); } // Function implementations for IfcAdvancedFace @@ -7748,7 +7748,7 @@ Ifc4x3_add2::IfcAdvancedBrepWithVoids::IfcAdvancedBrepWithVoids(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcAdvancedFace::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[16]); } const IfcParse::entity& Ifc4x3_add2::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[16]); } Ifc4x3_add2::IfcAdvancedFace::IfcAdvancedFace(IfcEntityInstanceData&& e) : IfcFaceSurface(std::move(e)) { } -Ifc4x3_add2::IfcAdvancedFace::IfcAdvancedFace(aggregate_of< ::Ifc4x3_add2::IfcFaceBound >::ptr v1_Bounds, ::Ifc4x3_add2::IfcSurface* v2_FaceSurface, bool v3_SameSense) : IfcFaceSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Bounds)->generalize());set_attribute_value(1, v2_FaceSurface ? v2_FaceSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_SameSense)); } +Ifc4x3_add2::IfcAdvancedFace::IfcAdvancedFace(aggregate_of< ::Ifc4x3_add2::IfcFaceBound >::ptr v1_Bounds, ::Ifc4x3_add2::IfcSurface* v2_FaceSurface, bool v3_SameSense) : IfcFaceSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Bounds)->generalize());set_attribute_value(1, v2_FaceSurface ? v2_FaceSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_SameSense));; populate_derived(); } // Function implementations for IfcAirTerminal boost::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > Ifc4x3_add2::IfcAirTerminal::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAirTerminalTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -7758,7 +7758,7 @@ void Ifc4x3_add2::IfcAirTerminal::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcAirTerminal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[17]); } const IfcParse::entity& Ifc4x3_add2::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[17]); } Ifc4x3_add2::IfcAirTerminal::IfcAirTerminal(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcAirTerminal::IfcAirTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcAirTerminal::IfcAirTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcAirTerminalBox boost::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_add2::IfcAirTerminalBox::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -7768,7 +7768,7 @@ void Ifc4x3_add2::IfcAirTerminalBox::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalBox::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[18]); } const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[18]); } Ifc4x3_add2::IfcAirTerminalBox::IfcAirTerminalBox(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcAirTerminalBox::IfcAirTerminalBox(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcAirTerminalBox::IfcAirTerminalBox(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_add2::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -7778,7 +7778,7 @@ void Ifc4x3_add2::IfcAirTerminalBoxType::setPredefinedType(::Ifc4x3_add2::IfcAir const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalBoxType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[19]); } const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[19]); } Ifc4x3_add2::IfcAirTerminalBoxType::IfcAirTerminalBoxType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcAirTerminalBoxType::IfcAirTerminalBoxType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcAirTerminalBoxType::IfcAirTerminalBoxType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcAirTerminalType ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value Ifc4x3_add2::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcAirTerminalTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -7788,7 +7788,7 @@ void Ifc4x3_add2::IfcAirTerminalType::setPredefinedType(::Ifc4x3_add2::IfcAirTer const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[21]); } const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[21]); } Ifc4x3_add2::IfcAirTerminalType::IfcAirTerminalType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcAirTerminalType::IfcAirTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcAirTerminalType::IfcAirTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcAirToAirHeatRecovery boost::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_add2::IfcAirToAirHeatRecovery::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -7798,7 +7798,7 @@ void Ifc4x3_add2::IfcAirToAirHeatRecovery::setPredefinedType(boost::optional< :: const IfcParse::entity& Ifc4x3_add2::IfcAirToAirHeatRecovery::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[23]); } const IfcParse::entity& Ifc4x3_add2::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[23]); } Ifc4x3_add2::IfcAirToAirHeatRecovery::IfcAirToAirHeatRecovery(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcAirToAirHeatRecovery::IfcAirToAirHeatRecovery(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcAirToAirHeatRecovery::IfcAirToAirHeatRecovery(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_add2::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -7808,7 +7808,7 @@ void Ifc4x3_add2::IfcAirToAirHeatRecoveryType::setPredefinedType(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcAirToAirHeatRecoveryType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[24]); } const IfcParse::entity& Ifc4x3_add2::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[24]); } Ifc4x3_add2::IfcAirToAirHeatRecoveryType::IfcAirToAirHeatRecoveryType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcAirToAirHeatRecoveryType::IfcAirToAirHeatRecoveryType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcAirToAirHeatRecoveryType::IfcAirToAirHeatRecoveryType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcAlarm boost::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > Ifc4x3_add2::IfcAlarm::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAlarmTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -7818,7 +7818,7 @@ void Ifc4x3_add2::IfcAlarm::setPredefinedType(boost::optional< ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcAlarm::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[26]); } const IfcParse::entity& Ifc4x3_add2::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[26]); } Ifc4x3_add2::IfcAlarm::IfcAlarm(IfcEntityInstanceData&& e) : IfcDistributionControlElement(std::move(e)) { } -Ifc4x3_add2::IfcAlarm::IfcAlarm(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcAlarm::IfcAlarm(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcAlarmType ::Ifc4x3_add2::IfcAlarmTypeEnum::Value Ifc4x3_add2::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_add2::IfcAlarmTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -7828,7 +7828,7 @@ void Ifc4x3_add2::IfcAlarmType::setPredefinedType(::Ifc4x3_add2::IfcAlarmTypeEnu const IfcParse::entity& Ifc4x3_add2::IfcAlarmType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[27]); } const IfcParse::entity& Ifc4x3_add2::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[27]); } Ifc4x3_add2::IfcAlarmType::IfcAlarmType(IfcEntityInstanceData&& e) : IfcDistributionControlElementType(std::move(e)) { } -Ifc4x3_add2::IfcAlarmType::IfcAlarmType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAlarmTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcAlarmType::IfcAlarmType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAlarmTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcAlignment boost::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > Ifc4x3_add2::IfcAlignment::PredefinedType() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAlignmentTypeEnum::FromString(data_.get_attribute_value(7)); } @@ -7838,7 +7838,7 @@ void Ifc4x3_add2::IfcAlignment::setPredefinedType(boost::optional< ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcAlignment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[29]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[29]); } Ifc4x3_add2::IfcAlignment::IfcAlignment(IfcEntityInstanceData&& e) : IfcLinearPositioningElement(std::move(e)) { } -Ifc4x3_add2::IfcAlignment::IfcAlignment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > v8_PredefinedType) : IfcLinearPositioningElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +Ifc4x3_add2::IfcAlignment::IfcAlignment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > v8_PredefinedType) : IfcLinearPositioningElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; populate_derived(); } // Function implementations for IfcAlignmentCant double Ifc4x3_add2::IfcAlignmentCant::RailHeadDistance() const { double v = data_.get_attribute_value(7); return v; } @@ -7848,7 +7848,7 @@ void Ifc4x3_add2::IfcAlignmentCant::setRailHeadDistance(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcAlignmentCant::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[30]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[30]); } Ifc4x3_add2::IfcAlignmentCant::IfcAlignmentCant(IfcEntityInstanceData&& e) : IfcLinearElement(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentCant::IfcAlignmentCant(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, double v8_RailHeadDistance) : IfcLinearElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_RailHeadDistance)); } +Ifc4x3_add2::IfcAlignmentCant::IfcAlignmentCant(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, double v8_RailHeadDistance) : IfcLinearElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_RailHeadDistance));; populate_derived(); } // Function implementations for IfcAlignmentCantSegment double Ifc4x3_add2::IfcAlignmentCantSegment::StartDistAlong() const { double v = data_.get_attribute_value(2); return v; } @@ -7870,7 +7870,7 @@ void Ifc4x3_add2::IfcAlignmentCantSegment::setPredefinedType(::Ifc4x3_add2::IfcA const IfcParse::entity& Ifc4x3_add2::IfcAlignmentCantSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[31]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[31]); } Ifc4x3_add2::IfcAlignmentCantSegment::IfcAlignmentCantSegment(IfcEntityInstanceData&& e) : IfcAlignmentParameterSegment(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentCantSegment::IfcAlignmentCantSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, boost::optional< double > v6_EndCantLeft, double v7_StartCantRight, boost::optional< double > v8_EndCantRight, ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) : IfcAlignmentParameterSegment(IfcEntityInstanceData(storage_t(9))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartDistAlong));set_attribute_value(3, (v4_HorizontalLength));set_attribute_value(4, (v5_StartCantLeft)); if (v6_EndCantLeft) {set_attribute_value(5, (*v6_EndCantLeft)); }set_attribute_value(6, (v7_StartCantRight)); if (v8_EndCantRight) {set_attribute_value(7, (*v8_EndCantRight)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +Ifc4x3_add2::IfcAlignmentCantSegment::IfcAlignmentCantSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, boost::optional< double > v6_EndCantLeft, double v7_StartCantRight, boost::optional< double > v8_EndCantRight, ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) : IfcAlignmentParameterSegment(IfcEntityInstanceData(storage_t(9))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartDistAlong));set_attribute_value(3, (v4_HorizontalLength));set_attribute_value(4, (v5_StartCantLeft)); if (v6_EndCantLeft) {set_attribute_value(5, (*v6_EndCantLeft)); }set_attribute_value(6, (v7_StartCantRight)); if (v8_EndCantRight) {set_attribute_value(7, (*v8_EndCantRight)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));; populate_derived(); } // Function implementations for IfcAlignmentHorizontal @@ -7878,7 +7878,7 @@ Ifc4x3_add2::IfcAlignmentCantSegment::IfcAlignmentCantSegment(boost::optional< s const IfcParse::entity& Ifc4x3_add2::IfcAlignmentHorizontal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[33]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[33]); } Ifc4x3_add2::IfcAlignmentHorizontal::IfcAlignmentHorizontal(IfcEntityInstanceData&& e) : IfcLinearElement(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentHorizontal::IfcAlignmentHorizontal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcLinearElement(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAlignmentHorizontal::IfcAlignmentHorizontal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcLinearElement(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAlignmentHorizontalSegment ::Ifc4x3_add2::IfcCartesianPoint* Ifc4x3_add2::IfcAlignmentHorizontalSegment::StartPoint() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcCartesianPoint>(true); } @@ -7900,7 +7900,7 @@ void Ifc4x3_add2::IfcAlignmentHorizontalSegment::setPredefinedType(::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcAlignmentHorizontalSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[34]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[34]); } Ifc4x3_add2::IfcAlignmentHorizontalSegment::IfcAlignmentHorizontalSegment(IfcEntityInstanceData&& e) : IfcAlignmentParameterSegment(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentHorizontalSegment::IfcAlignmentHorizontalSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag, ::Ifc4x3_add2::IfcCartesianPoint* v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, boost::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) : IfcAlignmentParameterSegment(IfcEntityInstanceData(storage_t(9))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, v3_StartPoint ? v3_StartPoint->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_StartDirection));set_attribute_value(4, (v5_StartRadiusOfCurvature));set_attribute_value(5, (v6_EndRadiusOfCurvature));set_attribute_value(6, (v7_SegmentLength)); if (v8_GravityCenterLineHeight) {set_attribute_value(7, (*v8_GravityCenterLineHeight)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +Ifc4x3_add2::IfcAlignmentHorizontalSegment::IfcAlignmentHorizontalSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag, ::Ifc4x3_add2::IfcCartesianPoint* v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, boost::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) : IfcAlignmentParameterSegment(IfcEntityInstanceData(storage_t(9))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, v3_StartPoint ? v3_StartPoint->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_StartDirection));set_attribute_value(4, (v5_StartRadiusOfCurvature));set_attribute_value(5, (v6_EndRadiusOfCurvature));set_attribute_value(6, (v7_SegmentLength)); if (v8_GravityCenterLineHeight) {set_attribute_value(7, (*v8_GravityCenterLineHeight)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));; populate_derived(); } // Function implementations for IfcAlignmentParameterSegment boost::optional< std::string > Ifc4x3_add2::IfcAlignmentParameterSegment::StartTag() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -7912,7 +7912,7 @@ void Ifc4x3_add2::IfcAlignmentParameterSegment::setEndTag(boost::optional< std:: const IfcParse::entity& Ifc4x3_add2::IfcAlignmentParameterSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[36]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[36]); } Ifc4x3_add2::IfcAlignmentParameterSegment::IfcAlignmentParameterSegment(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentParameterSegment::IfcAlignmentParameterSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } +Ifc4x3_add2::IfcAlignmentParameterSegment::IfcAlignmentParameterSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }; populate_derived(); } // Function implementations for IfcAlignmentSegment ::Ifc4x3_add2::IfcAlignmentParameterSegment* Ifc4x3_add2::IfcAlignmentSegment::DesignParameters() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(7)))->as<::Ifc4x3_add2::IfcAlignmentParameterSegment>(true); } @@ -7922,7 +7922,7 @@ void Ifc4x3_add2::IfcAlignmentSegment::setDesignParameters(::Ifc4x3_add2::IfcAli const IfcParse::entity& Ifc4x3_add2::IfcAlignmentSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[37]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[37]); } Ifc4x3_add2::IfcAlignmentSegment::IfcAlignmentSegment(IfcEntityInstanceData&& e) : IfcLinearElement(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentSegment::IfcAlignmentSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcAlignmentParameterSegment* v8_DesignParameters) : IfcLinearElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_DesignParameters ? v8_DesignParameters->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAlignmentSegment::IfcAlignmentSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcAlignmentParameterSegment* v8_DesignParameters) : IfcLinearElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_DesignParameters ? v8_DesignParameters->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAlignmentVertical @@ -7930,7 +7930,7 @@ Ifc4x3_add2::IfcAlignmentSegment::IfcAlignmentSegment(std::string v1_GlobalId, : const IfcParse::entity& Ifc4x3_add2::IfcAlignmentVertical::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[39]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[39]); } Ifc4x3_add2::IfcAlignmentVertical::IfcAlignmentVertical(IfcEntityInstanceData&& e) : IfcLinearElement(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentVertical::IfcAlignmentVertical(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcLinearElement(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAlignmentVertical::IfcAlignmentVertical(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcLinearElement(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAlignmentVerticalSegment double Ifc4x3_add2::IfcAlignmentVerticalSegment::StartDistAlong() const { double v = data_.get_attribute_value(2); return v; } @@ -7952,7 +7952,7 @@ void Ifc4x3_add2::IfcAlignmentVerticalSegment::setPredefinedType(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcAlignmentVerticalSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[40]); } const IfcParse::entity& Ifc4x3_add2::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[40]); } Ifc4x3_add2::IfcAlignmentVerticalSegment::IfcAlignmentVerticalSegment(IfcEntityInstanceData&& e) : IfcAlignmentParameterSegment(std::move(e)) { } -Ifc4x3_add2::IfcAlignmentVerticalSegment::IfcAlignmentVerticalSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, boost::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) : IfcAlignmentParameterSegment(IfcEntityInstanceData(storage_t(9))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartDistAlong));set_attribute_value(3, (v4_HorizontalLength));set_attribute_value(4, (v5_StartHeight));set_attribute_value(5, (v6_StartGradient));set_attribute_value(6, (v7_EndGradient)); if (v8_RadiusOfCurvature) {set_attribute_value(7, (*v8_RadiusOfCurvature)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +Ifc4x3_add2::IfcAlignmentVerticalSegment::IfcAlignmentVerticalSegment(boost::optional< std::string > v1_StartTag, boost::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, boost::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) : IfcAlignmentParameterSegment(IfcEntityInstanceData(storage_t(9))) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartDistAlong));set_attribute_value(3, (v4_HorizontalLength));set_attribute_value(4, (v5_StartHeight));set_attribute_value(5, (v6_StartGradient));set_attribute_value(6, (v7_EndGradient)); if (v8_RadiusOfCurvature) {set_attribute_value(7, (*v8_RadiusOfCurvature)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));; populate_derived(); } // Function implementations for IfcAnnotation boost::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > Ifc4x3_add2::IfcAnnotation::PredefinedType() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAnnotationTypeEnum::FromString(data_.get_attribute_value(7)); } @@ -7963,7 +7963,7 @@ void Ifc4x3_add2::IfcAnnotation::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcAnnotation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[46]); } const IfcParse::entity& Ifc4x3_add2::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[46]); } Ifc4x3_add2::IfcAnnotation::IfcAnnotation(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcAnnotation::IfcAnnotation(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > v8_PredefinedType) : IfcProduct(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +Ifc4x3_add2::IfcAnnotation::IfcAnnotation(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > v8_PredefinedType) : IfcProduct(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; populate_derived(); } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcAnnotationFillArea::OuterBoundary() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -7975,7 +7975,7 @@ void Ifc4x3_add2::IfcAnnotationFillArea::setInnerBoundaries(boost::optional< agg const IfcParse::entity& Ifc4x3_add2::IfcAnnotationFillArea::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[47]); } const IfcParse::entity& Ifc4x3_add2::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[47]); } Ifc4x3_add2::IfcAnnotationFillArea::IfcAnnotationFillArea(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcAnnotationFillArea::IfcAnnotationFillArea(::Ifc4x3_add2::IfcCurve* v1_OuterBoundary, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcCurve >::ptr > v2_InnerBoundaries) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_OuterBoundary ? v1_OuterBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_InnerBoundaries) {set_attribute_value(1, (*v2_InnerBoundaries)->generalize()); } } +Ifc4x3_add2::IfcAnnotationFillArea::IfcAnnotationFillArea(::Ifc4x3_add2::IfcCurve* v1_OuterBoundary, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcCurve >::ptr > v2_InnerBoundaries) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_OuterBoundary ? v1_OuterBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_InnerBoundaries) {set_attribute_value(1, (*v2_InnerBoundaries)->generalize()); }; populate_derived(); } // Function implementations for IfcApplication ::Ifc4x3_add2::IfcOrganization* Ifc4x3_add2::IfcApplication::ApplicationDeveloper() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcOrganization>(true); } @@ -7991,7 +7991,7 @@ void Ifc4x3_add2::IfcApplication::setApplicationIdentifier(std::string v) { set_ const IfcParse::entity& Ifc4x3_add2::IfcApplication::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[49]); } const IfcParse::entity& Ifc4x3_add2::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[49]); } Ifc4x3_add2::IfcApplication::IfcApplication(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcApplication::IfcApplication(::Ifc4x3_add2::IfcOrganization* v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ApplicationDeveloper ? v1_ApplicationDeveloper->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } +Ifc4x3_add2::IfcApplication::IfcApplication(::Ifc4x3_add2::IfcOrganization* v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ApplicationDeveloper ? v1_ApplicationDeveloper->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier));; populate_derived(); } // Function implementations for IfcAppliedValue boost::optional< std::string > Ifc4x3_add2::IfcAppliedValue::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -8020,7 +8020,7 @@ void Ifc4x3_add2::IfcAppliedValue::setComponents(boost::optional< aggregate_of< const IfcParse::entity& Ifc4x3_add2::IfcAppliedValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[50]); } const IfcParse::entity& Ifc4x3_add2::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[50]); } Ifc4x3_add2::IfcAppliedValue::IfcAppliedValue(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcAppliedValue::IfcAppliedValue(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect* v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_UnitBasis, boost::optional< std::string > v5_ApplicableDate, boost::optional< std::string > v6_FixedUntilDate, boost::optional< std::string > v7_Category, boost::optional< std::string > v8_Condition, boost::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_Components) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(10))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_AppliedValue ? v3_AppliedValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_UnitBasis ? v4_UnitBasis->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ApplicableDate) {set_attribute_value(4, (*v5_ApplicableDate)); } if (v6_FixedUntilDate) {set_attribute_value(5, (*v6_FixedUntilDate)); } if (v7_Category) {set_attribute_value(6, (*v7_Category)); } if (v8_Condition) {set_attribute_value(7, (*v8_Condition)); } if (v9_ArithmeticOperator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, (*v10_Components)->generalize()); } } +Ifc4x3_add2::IfcAppliedValue::IfcAppliedValue(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect* v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_UnitBasis, boost::optional< std::string > v5_ApplicableDate, boost::optional< std::string > v6_FixedUntilDate, boost::optional< std::string > v7_Category, boost::optional< std::string > v8_Condition, boost::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_Components) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(10))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_AppliedValue ? v3_AppliedValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_UnitBasis ? v4_UnitBasis->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ApplicableDate) {set_attribute_value(4, (*v5_ApplicableDate)); } if (v6_FixedUntilDate) {set_attribute_value(5, (*v6_FixedUntilDate)); } if (v7_Category) {set_attribute_value(6, (*v7_Category)); } if (v8_Condition) {set_attribute_value(7, (*v8_Condition)); } if (v9_ArithmeticOperator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, (*v10_Components)->generalize()); }; populate_derived(); } // Function implementations for IfcApproval boost::optional< std::string > Ifc4x3_add2::IfcApproval::Identifier() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -8051,7 +8051,7 @@ void Ifc4x3_add2::IfcApproval::setGivingApproval(::Ifc4x3_add2::IfcActorSelect* const IfcParse::entity& Ifc4x3_add2::IfcApproval::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[52]); } const IfcParse::entity& Ifc4x3_add2::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[52]); } Ifc4x3_add2::IfcApproval::IfcApproval(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcApproval::IfcApproval(boost::optional< std::string > v1_Identifier, boost::optional< std::string > v2_Name, boost::optional< std::string > v3_Description, boost::optional< std::string > v4_TimeOfApproval, boost::optional< std::string > v5_Status, boost::optional< std::string > v6_Level, boost::optional< std::string > v7_Qualifier, ::Ifc4x3_add2::IfcActorSelect* v8_RequestingApproval, ::Ifc4x3_add2::IfcActorSelect* v9_GivingApproval) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(9))) { if (v1_Identifier) {set_attribute_value(0, (*v1_Identifier)); } if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_TimeOfApproval) {set_attribute_value(3, (*v4_TimeOfApproval)); } if (v5_Status) {set_attribute_value(4, (*v5_Status)); } if (v6_Level) {set_attribute_value(5, (*v6_Level)); } if (v7_Qualifier) {set_attribute_value(6, (*v7_Qualifier)); }set_attribute_value(7, v8_RequestingApproval ? v8_RequestingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_GivingApproval ? v9_GivingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcApproval::IfcApproval(boost::optional< std::string > v1_Identifier, boost::optional< std::string > v2_Name, boost::optional< std::string > v3_Description, boost::optional< std::string > v4_TimeOfApproval, boost::optional< std::string > v5_Status, boost::optional< std::string > v6_Level, boost::optional< std::string > v7_Qualifier, ::Ifc4x3_add2::IfcActorSelect* v8_RequestingApproval, ::Ifc4x3_add2::IfcActorSelect* v9_GivingApproval) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(9))) { if (v1_Identifier) {set_attribute_value(0, (*v1_Identifier)); } if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_TimeOfApproval) {set_attribute_value(3, (*v4_TimeOfApproval)); } if (v5_Status) {set_attribute_value(4, (*v5_Status)); } if (v6_Level) {set_attribute_value(5, (*v6_Level)); } if (v7_Qualifier) {set_attribute_value(6, (*v7_Qualifier)); }set_attribute_value(7, v8_RequestingApproval ? v8_RequestingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_GivingApproval ? v9_GivingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcApprovalRelationship ::Ifc4x3_add2::IfcApproval* Ifc4x3_add2::IfcApprovalRelationship::RelatingApproval() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcApproval>(true); } @@ -8063,7 +8063,7 @@ void Ifc4x3_add2::IfcApprovalRelationship::setRelatedApprovals(aggregate_of< ::I const IfcParse::entity& Ifc4x3_add2::IfcApprovalRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[53]); } const IfcParse::entity& Ifc4x3_add2::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[53]); } Ifc4x3_add2::IfcApprovalRelationship::IfcApprovalRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcApprovalRelationship::IfcApprovalRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcApproval* v3_RelatingApproval, aggregate_of< ::Ifc4x3_add2::IfcApproval >::ptr v4_RelatedApprovals) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingApproval ? v3_RelatingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedApprovals)->generalize()); } +Ifc4x3_add2::IfcApprovalRelationship::IfcApprovalRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcApproval* v3_RelatingApproval, aggregate_of< ::Ifc4x3_add2::IfcApproval >::ptr v4_RelatedApprovals) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingApproval ? v3_RelatingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedApprovals)->generalize());; populate_derived(); } // Function implementations for IfcArbitraryClosedProfileDef ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcArbitraryClosedProfileDef::OuterCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -8073,7 +8073,7 @@ void Ifc4x3_add2::IfcArbitraryClosedProfileDef::setOuterCurve(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcArbitraryClosedProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[54]); } const IfcParse::entity& Ifc4x3_add2::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[54]); } Ifc4x3_add2::IfcArbitraryClosedProfileDef::IfcArbitraryClosedProfileDef(IfcEntityInstanceData&& e) : IfcProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcArbitraryClosedProfileDef::IfcArbitraryClosedProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve* v3_OuterCurve) : IfcProfileDef(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_OuterCurve ? v3_OuterCurve->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcArbitraryClosedProfileDef::IfcArbitraryClosedProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve* v3_OuterCurve) : IfcProfileDef(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_OuterCurve ? v3_OuterCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_add2::IfcBoundedCurve* Ifc4x3_add2::IfcArbitraryOpenProfileDef::Curve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcBoundedCurve>(true); } @@ -8083,7 +8083,7 @@ void Ifc4x3_add2::IfcArbitraryOpenProfileDef::setCurve(::Ifc4x3_add2::IfcBounded const IfcParse::entity& Ifc4x3_add2::IfcArbitraryOpenProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[55]); } const IfcParse::entity& Ifc4x3_add2::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[55]); } Ifc4x3_add2::IfcArbitraryOpenProfileDef::IfcArbitraryOpenProfileDef(IfcEntityInstanceData&& e) : IfcProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcArbitraryOpenProfileDef::IfcArbitraryOpenProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve* v3_Curve) : IfcProfileDef(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Curve ? v3_Curve->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcArbitraryOpenProfileDef::IfcArbitraryOpenProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve* v3_Curve) : IfcProfileDef(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Curve ? v3_Curve->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcArbitraryProfileDefWithVoids aggregate_of< ::Ifc4x3_add2::IfcCurve >::ptr Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::InnerCurves() const { aggregate_of_instance::ptr es = data_.get_attribute_value(3); return es->as< ::Ifc4x3_add2::IfcCurve >(); } @@ -8093,7 +8093,7 @@ void Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::setInnerCurves(aggregate_of< const IfcParse::entity& Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[56]); } const IfcParse::entity& Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[56]); } Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::IfcArbitraryProfileDefWithVoids(IfcEntityInstanceData&& e) : IfcArbitraryClosedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::IfcArbitraryProfileDefWithVoids(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve* v3_OuterCurve, aggregate_of< ::Ifc4x3_add2::IfcCurve >::ptr v4_InnerCurves) : IfcArbitraryClosedProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_OuterCurve ? v3_OuterCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_InnerCurves)->generalize()); } +Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::IfcArbitraryProfileDefWithVoids(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve* v3_OuterCurve, aggregate_of< ::Ifc4x3_add2::IfcCurve >::ptr v4_InnerCurves) : IfcArbitraryClosedProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_OuterCurve ? v3_OuterCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_InnerCurves)->generalize());; populate_derived(); } // Function implementations for IfcAsset boost::optional< std::string > Ifc4x3_add2::IfcAsset::Identification() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(5); return v; } @@ -8119,7 +8119,7 @@ void Ifc4x3_add2::IfcAsset::setDepreciatedValue(::Ifc4x3_add2::IfcCostValue* v) const IfcParse::entity& Ifc4x3_add2::IfcAsset::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[62]); } const IfcParse::entity& Ifc4x3_add2::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[62]); } Ifc4x3_add2::IfcAsset::IfcAsset(IfcEntityInstanceData&& e) : IfcGroup(std::move(e)) { } -Ifc4x3_add2::IfcAsset::IfcAsset(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, ::Ifc4x3_add2::IfcCostValue* v7_OriginalValue, ::Ifc4x3_add2::IfcCostValue* v8_CurrentValue, ::Ifc4x3_add2::IfcCostValue* v9_TotalReplacementCost, ::Ifc4x3_add2::IfcActorSelect* v10_Owner, ::Ifc4x3_add2::IfcActorSelect* v11_User, ::Ifc4x3_add2::IfcPerson* v12_ResponsiblePerson, boost::optional< std::string > v13_IncorporationDate, ::Ifc4x3_add2::IfcCostValue* v14_DepreciatedValue) : IfcGroup(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, v7_OriginalValue ? v7_OriginalValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_CurrentValue ? v8_CurrentValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_TotalReplacementCost ? v9_TotalReplacementCost->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(9, v10_Owner ? v10_Owner->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_User ? v11_User->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, v12_ResponsiblePerson ? v12_ResponsiblePerson->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, v14_DepreciatedValue ? v14_DepreciatedValue->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAsset::IfcAsset(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, ::Ifc4x3_add2::IfcCostValue* v7_OriginalValue, ::Ifc4x3_add2::IfcCostValue* v8_CurrentValue, ::Ifc4x3_add2::IfcCostValue* v9_TotalReplacementCost, ::Ifc4x3_add2::IfcActorSelect* v10_Owner, ::Ifc4x3_add2::IfcActorSelect* v11_User, ::Ifc4x3_add2::IfcPerson* v12_ResponsiblePerson, boost::optional< std::string > v13_IncorporationDate, ::Ifc4x3_add2::IfcCostValue* v14_DepreciatedValue) : IfcGroup(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, v7_OriginalValue ? v7_OriginalValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_CurrentValue ? v8_CurrentValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_TotalReplacementCost ? v9_TotalReplacementCost->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(9, v10_Owner ? v10_Owner->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_User ? v11_User->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, v12_ResponsiblePerson ? v12_ResponsiblePerson->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, v14_DepreciatedValue ? v14_DepreciatedValue->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAsymmetricIShapeProfileDef double Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::BottomFlangeWidth() const { double v = data_.get_attribute_value(3); return v; } @@ -8151,7 +8151,7 @@ void Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(boost::option const IfcParse::entity& Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[63]); } const IfcParse::entity& Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[63]); } Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::IfcAsymmetricIShapeProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::IfcAsymmetricIShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, boost::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, boost::optional< double > v10_TopFlangeThickness, boost::optional< double > v11_TopFlangeFilletRadius, boost::optional< double > v12_BottomFlangeEdgeRadius, boost::optional< double > v13_BottomFlangeSlope, boost::optional< double > v14_TopFlangeEdgeRadius, boost::optional< double > v15_TopFlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(15))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_BottomFlangeWidth));set_attribute_value(4, (v5_OverallDepth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_BottomFlangeThickness)); if (v8_BottomFlangeFilletRadius) {set_attribute_value(7, (*v8_BottomFlangeFilletRadius)); }set_attribute_value(8, (v9_TopFlangeWidth)); if (v10_TopFlangeThickness) {set_attribute_value(9, (*v10_TopFlangeThickness)); } if (v11_TopFlangeFilletRadius) {set_attribute_value(10, (*v11_TopFlangeFilletRadius)); } if (v12_BottomFlangeEdgeRadius) {set_attribute_value(11, (*v12_BottomFlangeEdgeRadius)); } if (v13_BottomFlangeSlope) {set_attribute_value(12, (*v13_BottomFlangeSlope)); } if (v14_TopFlangeEdgeRadius) {set_attribute_value(13, (*v14_TopFlangeEdgeRadius)); } if (v15_TopFlangeSlope) {set_attribute_value(14, (*v15_TopFlangeSlope)); } } +Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::IfcAsymmetricIShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, boost::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, boost::optional< double > v10_TopFlangeThickness, boost::optional< double > v11_TopFlangeFilletRadius, boost::optional< double > v12_BottomFlangeEdgeRadius, boost::optional< double > v13_BottomFlangeSlope, boost::optional< double > v14_TopFlangeEdgeRadius, boost::optional< double > v15_TopFlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(15))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_BottomFlangeWidth));set_attribute_value(4, (v5_OverallDepth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_BottomFlangeThickness)); if (v8_BottomFlangeFilletRadius) {set_attribute_value(7, (*v8_BottomFlangeFilletRadius)); }set_attribute_value(8, (v9_TopFlangeWidth)); if (v10_TopFlangeThickness) {set_attribute_value(9, (*v10_TopFlangeThickness)); } if (v11_TopFlangeFilletRadius) {set_attribute_value(10, (*v11_TopFlangeFilletRadius)); } if (v12_BottomFlangeEdgeRadius) {set_attribute_value(11, (*v12_BottomFlangeEdgeRadius)); } if (v13_BottomFlangeSlope) {set_attribute_value(12, (*v13_BottomFlangeSlope)); } if (v14_TopFlangeEdgeRadius) {set_attribute_value(13, (*v14_TopFlangeEdgeRadius)); } if (v15_TopFlangeSlope) {set_attribute_value(14, (*v15_TopFlangeSlope)); }; populate_derived(); } // Function implementations for IfcAudioVisualAppliance boost::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_add2::IfcAudioVisualAppliance::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8161,7 +8161,7 @@ void Ifc4x3_add2::IfcAudioVisualAppliance::setPredefinedType(boost::optional< :: const IfcParse::entity& Ifc4x3_add2::IfcAudioVisualAppliance::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[64]); } const IfcParse::entity& Ifc4x3_add2::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[64]); } Ifc4x3_add2::IfcAudioVisualAppliance::IfcAudioVisualAppliance(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcAudioVisualAppliance::IfcAudioVisualAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcAudioVisualAppliance::IfcAudioVisualAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_add2::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8171,7 +8171,7 @@ void Ifc4x3_add2::IfcAudioVisualApplianceType::setPredefinedType(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcAudioVisualApplianceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[65]); } const IfcParse::entity& Ifc4x3_add2::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[65]); } Ifc4x3_add2::IfcAudioVisualApplianceType::IfcAudioVisualApplianceType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcAudioVisualApplianceType::IfcAudioVisualApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcAudioVisualApplianceType::IfcAudioVisualApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcAxis1Placement ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcAxis1Placement::Axis() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -8181,7 +8181,7 @@ void Ifc4x3_add2::IfcAxis1Placement::setAxis(::Ifc4x3_add2::IfcDirection* v) { s const IfcParse::entity& Ifc4x3_add2::IfcAxis1Placement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[67]); } const IfcParse::entity& Ifc4x3_add2::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[67]); } Ifc4x3_add2::IfcAxis1Placement::IfcAxis1Placement(IfcEntityInstanceData&& e) : IfcPlacement(std::move(e)) { } -Ifc4x3_add2::IfcAxis1Placement::IfcAxis1Placement(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_Axis) : IfcPlacement(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis ? v2_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAxis1Placement::IfcAxis1Placement(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_Axis) : IfcPlacement(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis ? v2_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAxis2Placement2D ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcAxis2Placement2D::RefDirection() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -8191,7 +8191,7 @@ void Ifc4x3_add2::IfcAxis2Placement2D::setRefDirection(::Ifc4x3_add2::IfcDirecti const IfcParse::entity& Ifc4x3_add2::IfcAxis2Placement2D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[69]); } const IfcParse::entity& Ifc4x3_add2::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[69]); } Ifc4x3_add2::IfcAxis2Placement2D::IfcAxis2Placement2D(IfcEntityInstanceData&& e) : IfcPlacement(std::move(e)) { } -Ifc4x3_add2::IfcAxis2Placement2D::IfcAxis2Placement2D(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_RefDirection) : IfcPlacement(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_RefDirection ? v2_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAxis2Placement2D::IfcAxis2Placement2D(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_RefDirection) : IfcPlacement(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_RefDirection ? v2_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAxis2Placement3D ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcAxis2Placement3D::Axis() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -8203,7 +8203,7 @@ void Ifc4x3_add2::IfcAxis2Placement3D::setRefDirection(::Ifc4x3_add2::IfcDirecti const IfcParse::entity& Ifc4x3_add2::IfcAxis2Placement3D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[70]); } const IfcParse::entity& Ifc4x3_add2::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[70]); } Ifc4x3_add2::IfcAxis2Placement3D::IfcAxis2Placement3D(IfcEntityInstanceData&& e) : IfcPlacement(std::move(e)) { } -Ifc4x3_add2::IfcAxis2Placement3D::IfcAxis2Placement3D(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_Axis, ::Ifc4x3_add2::IfcDirection* v3_RefDirection) : IfcPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis ? v2_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_RefDirection ? v3_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAxis2Placement3D::IfcAxis2Placement3D(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_Axis, ::Ifc4x3_add2::IfcDirection* v3_RefDirection) : IfcPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis ? v2_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_RefDirection ? v3_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcAxis2PlacementLinear ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcAxis2PlacementLinear::Axis() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -8215,7 +8215,7 @@ void Ifc4x3_add2::IfcAxis2PlacementLinear::setRefDirection(::Ifc4x3_add2::IfcDir const IfcParse::entity& Ifc4x3_add2::IfcAxis2PlacementLinear::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[71]); } const IfcParse::entity& Ifc4x3_add2::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[71]); } Ifc4x3_add2::IfcAxis2PlacementLinear::IfcAxis2PlacementLinear(IfcEntityInstanceData&& e) : IfcPlacement(std::move(e)) { } -Ifc4x3_add2::IfcAxis2PlacementLinear::IfcAxis2PlacementLinear(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_Axis, ::Ifc4x3_add2::IfcDirection* v3_RefDirection) : IfcPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis ? v2_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_RefDirection ? v3_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcAxis2PlacementLinear::IfcAxis2PlacementLinear(::Ifc4x3_add2::IfcPoint* v1_Location, ::Ifc4x3_add2::IfcDirection* v2_Axis, ::Ifc4x3_add2::IfcDirection* v3_RefDirection) : IfcPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis ? v2_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_RefDirection ? v3_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBSplineCurve int Ifc4x3_add2::IfcBSplineCurve::Degree() const { int v = data_.get_attribute_value(0); return v; } @@ -8233,7 +8233,7 @@ void Ifc4x3_add2::IfcBSplineCurve::setSelfIntersect(boost::logic::tribool v) { s const IfcParse::entity& Ifc4x3_add2::IfcBSplineCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[107]); } const IfcParse::entity& Ifc4x3_add2::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[107]); } Ifc4x3_add2::IfcBSplineCurve::IfcBSplineCurve(IfcEntityInstanceData&& e) : IfcBoundedCurve(std::move(e)) { } -Ifc4x3_add2::IfcBSplineCurve::IfcBSplineCurve(int v1_Degree, aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, (v2_ControlPointsList)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +Ifc4x3_add2::IfcBSplineCurve::IfcBSplineCurve(int v1_Degree, aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, (v2_ControlPointsList)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect));; populate_derived(); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_add2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = data_.get_attribute_value(5); return v; } @@ -8247,7 +8247,7 @@ void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnotSpec(::Ifc4x3_add2::IfcKnotTy const IfcParse::entity& Ifc4x3_add2::IfcBSplineCurveWithKnots::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[109]); } const IfcParse::entity& Ifc4x3_add2::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[109]); } Ifc4x3_add2::IfcBSplineCurveWithKnots::IfcBSplineCurveWithKnots(IfcEntityInstanceData&& e) : IfcBSplineCurve(std::move(e)) { } -Ifc4x3_add2::IfcBSplineCurveWithKnots::IfcBSplineCurveWithKnots(int v1_Degree, aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect, std::vector< int > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add2::IfcKnotType::Value v8_KnotSpec) : IfcBSplineCurve(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, (v2_ControlPointsList)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect));set_attribute_value(5, (v6_KnotMultiplicities));set_attribute_value(6, (v7_Knots));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +Ifc4x3_add2::IfcBSplineCurveWithKnots::IfcBSplineCurveWithKnots(int v1_Degree, aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect, std::vector< int > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add2::IfcKnotType::Value v8_KnotSpec) : IfcBSplineCurve(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, (v2_ControlPointsList)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect));set_attribute_value(5, (v6_KnotMultiplicities));set_attribute_value(6, (v7_Knots));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));; populate_derived(); } // Function implementations for IfcBSplineSurface int Ifc4x3_add2::IfcBSplineSurface::UDegree() const { int v = data_.get_attribute_value(0); return v; } @@ -8269,7 +8269,7 @@ void Ifc4x3_add2::IfcBSplineSurface::setSelfIntersect(boost::logic::tribool v) { const IfcParse::entity& Ifc4x3_add2::IfcBSplineSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[110]); } const IfcParse::entity& Ifc4x3_add2::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[110]); } Ifc4x3_add2::IfcBSplineSurface::IfcBSplineSurface(IfcEntityInstanceData&& e) : IfcBoundedSurface(std::move(e)) { } -Ifc4x3_add2::IfcBSplineSurface::IfcBSplineSurface(int v1_UDegree, int v2_VDegree, aggregate_of_aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, (v3_ControlPointsList)->generalize());set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +Ifc4x3_add2::IfcBSplineSurface::IfcBSplineSurface(int v1_UDegree, int v2_VDegree, aggregate_of_aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, (v3_ControlPointsList)->generalize());set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect));; populate_derived(); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = data_.get_attribute_value(7); return v; } @@ -8287,7 +8287,7 @@ void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setKnotSpec(::Ifc4x3_add2::IfcKnot const IfcParse::entity& Ifc4x3_add2::IfcBSplineSurfaceWithKnots::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[112]); } const IfcParse::entity& Ifc4x3_add2::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[112]); } Ifc4x3_add2::IfcBSplineSurfaceWithKnots::IfcBSplineSurfaceWithKnots(IfcEntityInstanceData&& e) : IfcBSplineSurface(std::move(e)) { } -Ifc4x3_add2::IfcBSplineSurfaceWithKnots::IfcBSplineSurfaceWithKnots(int v1_UDegree, int v2_VDegree, aggregate_of_aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect, std::vector< int > /*[2:?]*/ v8_UMultiplicities, std::vector< int > /*[2:?]*/ v9_VMultiplicities, std::vector< double > /*[2:?]*/ v10_UKnots, std::vector< double > /*[2:?]*/ v11_VKnots, ::Ifc4x3_add2::IfcKnotType::Value v12_KnotSpec) : IfcBSplineSurface(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, (v3_ControlPointsList)->generalize());set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect));set_attribute_value(7, (v8_UMultiplicities));set_attribute_value(8, (v9_VMultiplicities));set_attribute_value(9, (v10_UKnots));set_attribute_value(10, (v11_VKnots));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +Ifc4x3_add2::IfcBSplineSurfaceWithKnots::IfcBSplineSurfaceWithKnots(int v1_UDegree, int v2_VDegree, aggregate_of_aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect, std::vector< int > /*[2:?]*/ v8_UMultiplicities, std::vector< int > /*[2:?]*/ v9_VMultiplicities, std::vector< double > /*[2:?]*/ v10_UKnots, std::vector< double > /*[2:?]*/ v11_VKnots, ::Ifc4x3_add2::IfcKnotType::Value v12_KnotSpec) : IfcBSplineSurface(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, (v3_ControlPointsList)->generalize());set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect));set_attribute_value(7, (v8_UMultiplicities));set_attribute_value(8, (v9_VMultiplicities));set_attribute_value(9, (v10_UKnots));set_attribute_value(10, (v11_VKnots));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));; populate_derived(); } // Function implementations for IfcBeam boost::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > Ifc4x3_add2::IfcBeam::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBeamTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8297,7 +8297,7 @@ void Ifc4x3_add2::IfcBeam::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcBeam::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[72]); } const IfcParse::entity& Ifc4x3_add2::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[72]); } Ifc4x3_add2::IfcBeam::IfcBeam(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcBeam::IfcBeam(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcBeam::IfcBeam(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBeamType ::Ifc4x3_add2::IfcBeamTypeEnum::Value Ifc4x3_add2::IfcBeamType::PredefinedType() const { return ::Ifc4x3_add2::IfcBeamTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8307,7 +8307,7 @@ void Ifc4x3_add2::IfcBeamType::setPredefinedType(::Ifc4x3_add2::IfcBeamTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcBeamType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[73]); } const IfcParse::entity& Ifc4x3_add2::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[73]); } Ifc4x3_add2::IfcBeamType::IfcBeamType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcBeamType::IfcBeamType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBeamTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcBeamType::IfcBeamType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBeamTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcBearing boost::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > Ifc4x3_add2::IfcBearing::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBearingTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8317,7 +8317,7 @@ void Ifc4x3_add2::IfcBearing::setPredefinedType(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcBearing::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[75]); } const IfcParse::entity& Ifc4x3_add2::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[75]); } Ifc4x3_add2::IfcBearing::IfcBearing(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcBearing::IfcBearing(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcBearing::IfcBearing(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBearingType ::Ifc4x3_add2::IfcBearingTypeEnum::Value Ifc4x3_add2::IfcBearingType::PredefinedType() const { return ::Ifc4x3_add2::IfcBearingTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8327,7 +8327,7 @@ void Ifc4x3_add2::IfcBearingType::setPredefinedType(::Ifc4x3_add2::IfcBearingTyp const IfcParse::entity& Ifc4x3_add2::IfcBearingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[76]); } const IfcParse::entity& Ifc4x3_add2::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[76]); } Ifc4x3_add2::IfcBearingType::IfcBearingType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcBearingType::IfcBearingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBearingTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcBearingType::IfcBearingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBearingTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcBlobTexture std::string Ifc4x3_add2::IfcBlobTexture::RasterFormat() const { std::string v = data_.get_attribute_value(5); return v; } @@ -8339,7 +8339,7 @@ void Ifc4x3_add2::IfcBlobTexture::setRasterCode(boost::dynamic_bitset<> v) { set const IfcParse::entity& Ifc4x3_add2::IfcBlobTexture::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[81]); } const IfcParse::entity& Ifc4x3_add2::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[81]); } Ifc4x3_add2::IfcBlobTexture::IfcBlobTexture(IfcEntityInstanceData&& e) : IfcSurfaceTexture(std::move(e)) { } -Ifc4x3_add2::IfcBlobTexture::IfcBlobTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) : IfcSurfaceTexture(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } +Ifc4x3_add2::IfcBlobTexture::IfcBlobTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) : IfcSurfaceTexture(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode));; populate_derived(); } // Function implementations for IfcBlock double Ifc4x3_add2::IfcBlock::XLength() const { double v = data_.get_attribute_value(1); return v; } @@ -8353,7 +8353,7 @@ void Ifc4x3_add2::IfcBlock::setZLength(double v) { set_attribute_value(3, v);if const IfcParse::entity& Ifc4x3_add2::IfcBlock::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[82]); } const IfcParse::entity& Ifc4x3_add2::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[82]); } Ifc4x3_add2::IfcBlock::IfcBlock(IfcEntityInstanceData&& e) : IfcCsgPrimitive3D(std::move(e)) { } -Ifc4x3_add2::IfcBlock::IfcBlock(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } +Ifc4x3_add2::IfcBlock::IfcBlock(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength));; populate_derived(); } // Function implementations for IfcBoiler boost::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > Ifc4x3_add2::IfcBoiler::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBoilerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8363,7 +8363,7 @@ void Ifc4x3_add2::IfcBoiler::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcBoiler::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[83]); } const IfcParse::entity& Ifc4x3_add2::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[83]); } Ifc4x3_add2::IfcBoiler::IfcBoiler(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcBoiler::IfcBoiler(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcBoiler::IfcBoiler(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBoilerType ::Ifc4x3_add2::IfcBoilerTypeEnum::Value Ifc4x3_add2::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_add2::IfcBoilerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8373,7 +8373,7 @@ void Ifc4x3_add2::IfcBoilerType::setPredefinedType(::Ifc4x3_add2::IfcBoilerTypeE const IfcParse::entity& Ifc4x3_add2::IfcBoilerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[84]); } const IfcParse::entity& Ifc4x3_add2::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[84]); } Ifc4x3_add2::IfcBoilerType::IfcBoilerType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcBoilerType::IfcBoilerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBoilerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcBoilerType::IfcBoilerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBoilerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcBooleanClippingResult @@ -8381,7 +8381,7 @@ Ifc4x3_add2::IfcBoilerType::IfcBoilerType(std::string v1_GlobalId, ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcBooleanClippingResult::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[87]); } const IfcParse::entity& Ifc4x3_add2::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[87]); } Ifc4x3_add2::IfcBooleanClippingResult::IfcBooleanClippingResult(IfcEntityInstanceData&& e) : IfcBooleanResult(std::move(e)) { } -Ifc4x3_add2::IfcBooleanClippingResult::IfcBooleanClippingResult(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand* v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand* v3_SecondOperand) : IfcBooleanResult(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, v2_FirstOperand ? v2_FirstOperand->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_SecondOperand ? v3_SecondOperand->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBooleanClippingResult::IfcBooleanClippingResult(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand* v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand* v3_SecondOperand) : IfcBooleanResult(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, v2_FirstOperand ? v2_FirstOperand->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_SecondOperand ? v3_SecondOperand->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBooleanResult ::Ifc4x3_add2::IfcBooleanOperator::Value Ifc4x3_add2::IfcBooleanResult::Operator() const { return ::Ifc4x3_add2::IfcBooleanOperator::FromString(data_.get_attribute_value(0)); } @@ -8395,7 +8395,7 @@ void Ifc4x3_add2::IfcBooleanResult::setSecondOperand(::Ifc4x3_add2::IfcBooleanOp const IfcParse::entity& Ifc4x3_add2::IfcBooleanResult::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[90]); } const IfcParse::entity& Ifc4x3_add2::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[90]); } Ifc4x3_add2::IfcBooleanResult::IfcBooleanResult(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcBooleanResult::IfcBooleanResult(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand* v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand* v3_SecondOperand) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, v2_FirstOperand ? v2_FirstOperand->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_SecondOperand ? v3_SecondOperand->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBooleanResult::IfcBooleanResult(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand* v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand* v3_SecondOperand) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, v2_FirstOperand ? v2_FirstOperand->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_SecondOperand ? v3_SecondOperand->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBorehole @@ -8403,7 +8403,7 @@ Ifc4x3_add2::IfcBooleanResult::IfcBooleanResult(::Ifc4x3_add2::IfcBooleanOperato const IfcParse::entity& Ifc4x3_add2::IfcBorehole::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[91]); } const IfcParse::entity& Ifc4x3_add2::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[91]); } Ifc4x3_add2::IfcBorehole::IfcBorehole(IfcEntityInstanceData&& e) : IfcGeotechnicalAssembly(std::move(e)) { } -Ifc4x3_add2::IfcBorehole::IfcBorehole(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalAssembly(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcBorehole::IfcBorehole(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalAssembly(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcBoundaryCondition boost::optional< std::string > Ifc4x3_add2::IfcBoundaryCondition::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -8413,7 +8413,7 @@ void Ifc4x3_add2::IfcBoundaryCondition::setName(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcBoundaryCondition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[92]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[92]); } Ifc4x3_add2::IfcBoundaryCondition::IfcBoundaryCondition(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcBoundaryCondition::IfcBoundaryCondition(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } +Ifc4x3_add2::IfcBoundaryCondition::IfcBoundaryCondition(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; populate_derived(); } // Function implementations for IfcBoundaryCurve @@ -8421,7 +8421,7 @@ Ifc4x3_add2::IfcBoundaryCondition::IfcBoundaryCondition(boost::optional< std::st const IfcParse::entity& Ifc4x3_add2::IfcBoundaryCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[93]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[93]); } Ifc4x3_add2::IfcBoundaryCurve::IfcBoundaryCurve(IfcEntityInstanceData&& e) : IfcCompositeCurveOnSurface(std::move(e)) { } -Ifc4x3_add2::IfcBoundaryCurve::IfcBoundaryCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcCompositeCurveOnSurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect)); } +Ifc4x3_add2::IfcBoundaryCurve::IfcBoundaryCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcCompositeCurveOnSurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));; populate_derived(); } // Function implementations for IfcBoundaryEdgeCondition ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect* Ifc4x3_add2::IfcBoundaryEdgeCondition::TranslationalStiffnessByLengthX() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect>(true); } @@ -8441,7 +8441,7 @@ void Ifc4x3_add2::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(::If const IfcParse::entity& Ifc4x3_add2::IfcBoundaryEdgeCondition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[94]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[94]); } Ifc4x3_add2::IfcBoundaryEdgeCondition::IfcBoundaryEdgeCondition(IfcEntityInstanceData&& e) : IfcBoundaryCondition(std::move(e)) { } -Ifc4x3_add2::IfcBoundaryEdgeCondition::IfcBoundaryEdgeCondition(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect* v2_TranslationalStiffnessByLengthX, ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect* v3_TranslationalStiffnessByLengthY, ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect* v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect* v5_RotationalStiffnessByLengthX, ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect* v6_RotationalStiffnessByLengthY, ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect* v7_RotationalStiffnessByLengthZ) : IfcBoundaryCondition(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessByLengthX ? v2_TranslationalStiffnessByLengthX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessByLengthY ? v3_TranslationalStiffnessByLengthY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessByLengthZ ? v4_TranslationalStiffnessByLengthZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_RotationalStiffnessByLengthX ? v5_RotationalStiffnessByLengthX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RotationalStiffnessByLengthY ? v6_RotationalStiffnessByLengthY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RotationalStiffnessByLengthZ ? v7_RotationalStiffnessByLengthZ->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBoundaryEdgeCondition::IfcBoundaryEdgeCondition(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect* v2_TranslationalStiffnessByLengthX, ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect* v3_TranslationalStiffnessByLengthY, ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect* v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect* v5_RotationalStiffnessByLengthX, ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect* v6_RotationalStiffnessByLengthY, ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect* v7_RotationalStiffnessByLengthZ) : IfcBoundaryCondition(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessByLengthX ? v2_TranslationalStiffnessByLengthX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessByLengthY ? v3_TranslationalStiffnessByLengthY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessByLengthZ ? v4_TranslationalStiffnessByLengthZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_RotationalStiffnessByLengthX ? v5_RotationalStiffnessByLengthX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RotationalStiffnessByLengthY ? v6_RotationalStiffnessByLengthY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RotationalStiffnessByLengthZ ? v7_RotationalStiffnessByLengthZ->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBoundaryFaceCondition ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect* Ifc4x3_add2::IfcBoundaryFaceCondition::TranslationalStiffnessByAreaX() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect>(true); } @@ -8455,7 +8455,7 @@ void Ifc4x3_add2::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(::I const IfcParse::entity& Ifc4x3_add2::IfcBoundaryFaceCondition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[95]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[95]); } Ifc4x3_add2::IfcBoundaryFaceCondition::IfcBoundaryFaceCondition(IfcEntityInstanceData&& e) : IfcBoundaryCondition(std::move(e)) { } -Ifc4x3_add2::IfcBoundaryFaceCondition::IfcBoundaryFaceCondition(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect* v2_TranslationalStiffnessByAreaX, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect* v3_TranslationalStiffnessByAreaY, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect* v4_TranslationalStiffnessByAreaZ) : IfcBoundaryCondition(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessByAreaX ? v2_TranslationalStiffnessByAreaX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessByAreaY ? v3_TranslationalStiffnessByAreaY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessByAreaZ ? v4_TranslationalStiffnessByAreaZ->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBoundaryFaceCondition::IfcBoundaryFaceCondition(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect* v2_TranslationalStiffnessByAreaX, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect* v3_TranslationalStiffnessByAreaY, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect* v4_TranslationalStiffnessByAreaZ) : IfcBoundaryCondition(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessByAreaX ? v2_TranslationalStiffnessByAreaX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessByAreaY ? v3_TranslationalStiffnessByAreaY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessByAreaZ ? v4_TranslationalStiffnessByAreaZ->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBoundaryNodeCondition ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* Ifc4x3_add2::IfcBoundaryNodeCondition::TranslationalStiffnessX() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcTranslationalStiffnessSelect>(true); } @@ -8475,7 +8475,7 @@ void Ifc4x3_add2::IfcBoundaryNodeCondition::setRotationalStiffnessZ(::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcBoundaryNodeCondition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[96]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[96]); } Ifc4x3_add2::IfcBoundaryNodeCondition::IfcBoundaryNodeCondition(IfcEntityInstanceData&& e) : IfcBoundaryCondition(std::move(e)) { } -Ifc4x3_add2::IfcBoundaryNodeCondition::IfcBoundaryNodeCondition(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v2_TranslationalStiffnessX, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v3_TranslationalStiffnessY, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v4_TranslationalStiffnessZ, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v5_RotationalStiffnessX, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v6_RotationalStiffnessY, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v7_RotationalStiffnessZ) : IfcBoundaryCondition(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessX ? v2_TranslationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessY ? v3_TranslationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessZ ? v4_TranslationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_RotationalStiffnessX ? v5_RotationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RotationalStiffnessY ? v6_RotationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RotationalStiffnessZ ? v7_RotationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBoundaryNodeCondition::IfcBoundaryNodeCondition(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v2_TranslationalStiffnessX, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v3_TranslationalStiffnessY, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v4_TranslationalStiffnessZ, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v5_RotationalStiffnessX, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v6_RotationalStiffnessY, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v7_RotationalStiffnessZ) : IfcBoundaryCondition(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessX ? v2_TranslationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessY ? v3_TranslationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessZ ? v4_TranslationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_RotationalStiffnessX ? v5_RotationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RotationalStiffnessY ? v6_RotationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RotationalStiffnessZ ? v7_RotationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBoundaryNodeConditionWarping ::Ifc4x3_add2::IfcWarpingStiffnessSelect* Ifc4x3_add2::IfcBoundaryNodeConditionWarping::WarpingStiffness() const { if(data_.get_attribute_value(7).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(7)))->as<::Ifc4x3_add2::IfcWarpingStiffnessSelect>(true); } @@ -8485,7 +8485,7 @@ void Ifc4x3_add2::IfcBoundaryNodeConditionWarping::setWarpingStiffness(::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcBoundaryNodeConditionWarping::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[97]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[97]); } Ifc4x3_add2::IfcBoundaryNodeConditionWarping::IfcBoundaryNodeConditionWarping(IfcEntityInstanceData&& e) : IfcBoundaryNodeCondition(std::move(e)) { } -Ifc4x3_add2::IfcBoundaryNodeConditionWarping::IfcBoundaryNodeConditionWarping(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v2_TranslationalStiffnessX, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v3_TranslationalStiffnessY, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v4_TranslationalStiffnessZ, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v5_RotationalStiffnessX, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v6_RotationalStiffnessY, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v7_RotationalStiffnessZ, ::Ifc4x3_add2::IfcWarpingStiffnessSelect* v8_WarpingStiffness) : IfcBoundaryNodeCondition(IfcEntityInstanceData(storage_t(8))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessX ? v2_TranslationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessY ? v3_TranslationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessZ ? v4_TranslationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_RotationalStiffnessX ? v5_RotationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RotationalStiffnessY ? v6_RotationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RotationalStiffnessZ ? v7_RotationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_WarpingStiffness ? v8_WarpingStiffness->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBoundaryNodeConditionWarping::IfcBoundaryNodeConditionWarping(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v2_TranslationalStiffnessX, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v3_TranslationalStiffnessY, ::Ifc4x3_add2::IfcTranslationalStiffnessSelect* v4_TranslationalStiffnessZ, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v5_RotationalStiffnessX, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v6_RotationalStiffnessY, ::Ifc4x3_add2::IfcRotationalStiffnessSelect* v7_RotationalStiffnessZ, ::Ifc4x3_add2::IfcWarpingStiffnessSelect* v8_WarpingStiffness) : IfcBoundaryNodeCondition(IfcEntityInstanceData(storage_t(8))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TranslationalStiffnessX ? v2_TranslationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TranslationalStiffnessY ? v3_TranslationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TranslationalStiffnessZ ? v4_TranslationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_RotationalStiffnessX ? v5_RotationalStiffnessX->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RotationalStiffnessY ? v6_RotationalStiffnessY->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RotationalStiffnessZ ? v7_RotationalStiffnessZ->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_WarpingStiffness ? v8_WarpingStiffness->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBoundedCurve @@ -8493,7 +8493,7 @@ Ifc4x3_add2::IfcBoundaryNodeConditionWarping::IfcBoundaryNodeConditionWarping(bo const IfcParse::entity& Ifc4x3_add2::IfcBoundedCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[98]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[98]); } Ifc4x3_add2::IfcBoundedCurve::IfcBoundedCurve(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcBoundedCurve::IfcBoundedCurve() : IfcCurve(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcBoundedCurve::IfcBoundedCurve() : IfcCurve(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcBoundedSurface @@ -8501,7 +8501,7 @@ Ifc4x3_add2::IfcBoundedCurve::IfcBoundedCurve() : IfcCurve(IfcEntityInstanceData const IfcParse::entity& Ifc4x3_add2::IfcBoundedSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[99]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[99]); } Ifc4x3_add2::IfcBoundedSurface::IfcBoundedSurface(IfcEntityInstanceData&& e) : IfcSurface(std::move(e)) { } -Ifc4x3_add2::IfcBoundedSurface::IfcBoundedSurface() : IfcSurface(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcBoundedSurface::IfcBoundedSurface() : IfcSurface(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcBoundingBox ::Ifc4x3_add2::IfcCartesianPoint* Ifc4x3_add2::IfcBoundingBox::Corner() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCartesianPoint>(true); } @@ -8517,7 +8517,7 @@ void Ifc4x3_add2::IfcBoundingBox::setZDim(double v) { set_attribute_value(3, v); const IfcParse::entity& Ifc4x3_add2::IfcBoundingBox::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[100]); } const IfcParse::entity& Ifc4x3_add2::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[100]); } Ifc4x3_add2::IfcBoundingBox::IfcBoundingBox(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcBoundingBox::IfcBoundingBox(::Ifc4x3_add2::IfcCartesianPoint* v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Corner ? v1_Corner->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } +Ifc4x3_add2::IfcBoundingBox::IfcBoundingBox(::Ifc4x3_add2::IfcCartesianPoint* v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Corner ? v1_Corner->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim));; populate_derived(); } // Function implementations for IfcBoxedHalfSpace ::Ifc4x3_add2::IfcBoundingBox* Ifc4x3_add2::IfcBoxedHalfSpace::Enclosure() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcBoundingBox>(true); } @@ -8527,7 +8527,7 @@ void Ifc4x3_add2::IfcBoxedHalfSpace::setEnclosure(::Ifc4x3_add2::IfcBoundingBox* const IfcParse::entity& Ifc4x3_add2::IfcBoxedHalfSpace::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[102]); } const IfcParse::entity& Ifc4x3_add2::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[102]); } Ifc4x3_add2::IfcBoxedHalfSpace::IfcBoxedHalfSpace(IfcEntityInstanceData&& e) : IfcHalfSpaceSolid(std::move(e)) { } -Ifc4x3_add2::IfcBoxedHalfSpace::IfcBoxedHalfSpace(::Ifc4x3_add2::IfcSurface* v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcBoundingBox* v3_Enclosure) : IfcHalfSpaceSolid(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BaseSurface ? v1_BaseSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, v3_Enclosure ? v3_Enclosure->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBoxedHalfSpace::IfcBoxedHalfSpace(::Ifc4x3_add2::IfcSurface* v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcBoundingBox* v3_Enclosure) : IfcHalfSpaceSolid(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BaseSurface ? v1_BaseSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, v3_Enclosure ? v3_Enclosure->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBridge boost::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > Ifc4x3_add2::IfcBridge::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBridgeTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8537,7 +8537,7 @@ void Ifc4x3_add2::IfcBridge::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcBridge::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[103]); } const IfcParse::entity& Ifc4x3_add2::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[103]); } Ifc4x3_add2::IfcBridge::IfcBridge(IfcEntityInstanceData&& e) : IfcFacility(std::move(e)) { } -Ifc4x3_add2::IfcBridge::IfcBridge(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcBridge::IfcBridge(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBridgePart boost::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > Ifc4x3_add2::IfcBridgePart::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBridgePartTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -8547,7 +8547,7 @@ void Ifc4x3_add2::IfcBridgePart::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcBridgePart::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[104]); } const IfcParse::entity& Ifc4x3_add2::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[104]); } Ifc4x3_add2::IfcBridgePart::IfcBridgePart(IfcEntityInstanceData&& e) : IfcFacilityPart(std::move(e)) { } -Ifc4x3_add2::IfcBridgePart::IfcBridgePart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcBridgePart::IfcBridgePart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBuilding boost::optional< double > Ifc4x3_add2::IfcBuilding::ElevationOfRefHeight() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } double v = data_.get_attribute_value(9); return v; } @@ -8561,7 +8561,7 @@ void Ifc4x3_add2::IfcBuilding::setBuildingAddress(::Ifc4x3_add2::IfcPostalAddres const IfcParse::entity& Ifc4x3_add2::IfcBuilding::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[113]); } const IfcParse::entity& Ifc4x3_add2::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[113]); } Ifc4x3_add2::IfcBuilding::IfcBuilding(IfcEntityInstanceData&& e) : IfcFacility(std::move(e)) { } -Ifc4x3_add2::IfcBuilding::IfcBuilding(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< double > v10_ElevationOfRefHeight, boost::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add2::IfcPostalAddress* v12_BuildingAddress) : IfcFacility(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_ElevationOfRefHeight) {set_attribute_value(9, (*v10_ElevationOfRefHeight)); } if (v11_ElevationOfTerrain) {set_attribute_value(10, (*v11_ElevationOfTerrain)); }set_attribute_value(11, v12_BuildingAddress ? v12_BuildingAddress->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcBuilding::IfcBuilding(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< double > v10_ElevationOfRefHeight, boost::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add2::IfcPostalAddress* v12_BuildingAddress) : IfcFacility(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_ElevationOfRefHeight) {set_attribute_value(9, (*v10_ElevationOfRefHeight)); } if (v11_ElevationOfTerrain) {set_attribute_value(10, (*v11_ElevationOfTerrain)); }set_attribute_value(11, v12_BuildingAddress ? v12_BuildingAddress->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcBuildingElementPart boost::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_add2::IfcBuildingElementPart::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8571,7 +8571,7 @@ void Ifc4x3_add2::IfcBuildingElementPart::setPredefinedType(boost::optional< ::I const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementPart::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[114]); } const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[114]); } Ifc4x3_add2::IfcBuildingElementPart::IfcBuildingElementPart(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcBuildingElementPart::IfcBuildingElementPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcBuildingElementPart::IfcBuildingElementPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value Ifc4x3_add2::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8581,7 +8581,7 @@ void Ifc4x3_add2::IfcBuildingElementPartType::setPredefinedType(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementPartType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[115]); } const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[115]); } Ifc4x3_add2::IfcBuildingElementPartType::IfcBuildingElementPartType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcBuildingElementPartType::IfcBuildingElementPartType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcBuildingElementPartType::IfcBuildingElementPartType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcBuildingElementProxy boost::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_add2::IfcBuildingElementProxy::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8591,7 +8591,7 @@ void Ifc4x3_add2::IfcBuildingElementProxy::setPredefinedType(boost::optional< :: const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementProxy::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[117]); } const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[117]); } Ifc4x3_add2::IfcBuildingElementProxy::IfcBuildingElementProxy(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcBuildingElementProxy::IfcBuildingElementProxy(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcBuildingElementProxy::IfcBuildingElementProxy(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_add2::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8601,7 +8601,7 @@ void Ifc4x3_add2::IfcBuildingElementProxyType::setPredefinedType(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementProxyType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[118]); } const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[118]); } Ifc4x3_add2::IfcBuildingElementProxyType::IfcBuildingElementProxyType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcBuildingElementProxyType::IfcBuildingElementProxyType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcBuildingElementProxyType::IfcBuildingElementProxyType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcBuildingStorey boost::optional< double > Ifc4x3_add2::IfcBuildingStorey::Elevation() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } double v = data_.get_attribute_value(9); return v; } @@ -8611,7 +8611,7 @@ void Ifc4x3_add2::IfcBuildingStorey::setElevation(boost::optional< double > v) { const IfcParse::entity& Ifc4x3_add2::IfcBuildingStorey::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[120]); } const IfcParse::entity& Ifc4x3_add2::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[120]); } Ifc4x3_add2::IfcBuildingStorey::IfcBuildingStorey(IfcEntityInstanceData&& e) : IfcSpatialStructureElement(std::move(e)) { } -Ifc4x3_add2::IfcBuildingStorey::IfcBuildingStorey(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< double > v10_Elevation) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +Ifc4x3_add2::IfcBuildingStorey::IfcBuildingStorey(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< double > v10_Elevation) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); }; populate_derived(); } // Function implementations for IfcBuildingSystem boost::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > Ifc4x3_add2::IfcBuildingSystem::PredefinedType() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::FromString(data_.get_attribute_value(5)); } @@ -8623,7 +8623,7 @@ void Ifc4x3_add2::IfcBuildingSystem::setLongName(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcBuildingSystem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[121]); } const IfcParse::entity& Ifc4x3_add2::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[121]); } Ifc4x3_add2::IfcBuildingSystem::IfcBuildingSystem(IfcEntityInstanceData&& e) : IfcSystem(std::move(e)) { } -Ifc4x3_add2::IfcBuildingSystem::IfcBuildingSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, boost::optional< std::string > v7_LongName) : IfcSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +Ifc4x3_add2::IfcBuildingSystem::IfcBuildingSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, boost::optional< std::string > v7_LongName) : IfcSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); }; populate_derived(); } // Function implementations for IfcBuiltElement @@ -8631,7 +8631,7 @@ Ifc4x3_add2::IfcBuildingSystem::IfcBuildingSystem(std::string v1_GlobalId, ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcBuiltElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[123]); } const IfcParse::entity& Ifc4x3_add2::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[123]); } Ifc4x3_add2::IfcBuiltElement::IfcBuiltElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcBuiltElement::IfcBuiltElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcBuiltElement::IfcBuiltElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcBuiltElementType @@ -8639,7 +8639,7 @@ Ifc4x3_add2::IfcBuiltElement::IfcBuiltElement(std::string v1_GlobalId, ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcBuiltElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[124]); } const IfcParse::entity& Ifc4x3_add2::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[124]); } Ifc4x3_add2::IfcBuiltElementType::IfcBuiltElementType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcBuiltElementType::IfcBuiltElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcBuiltElementType::IfcBuiltElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcBuiltSystem boost::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > Ifc4x3_add2::IfcBuiltSystem::PredefinedType() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::FromString(data_.get_attribute_value(5)); } @@ -8651,7 +8651,7 @@ void Ifc4x3_add2::IfcBuiltSystem::setLongName(boost::optional< std::string > v) const IfcParse::entity& Ifc4x3_add2::IfcBuiltSystem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[125]); } const IfcParse::entity& Ifc4x3_add2::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[125]); } Ifc4x3_add2::IfcBuiltSystem::IfcBuiltSystem(IfcEntityInstanceData&& e) : IfcSystem(std::move(e)) { } -Ifc4x3_add2::IfcBuiltSystem::IfcBuiltSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, boost::optional< std::string > v7_LongName) : IfcSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +Ifc4x3_add2::IfcBuiltSystem::IfcBuiltSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, boost::optional< std::string > v7_LongName) : IfcSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); }; populate_derived(); } // Function implementations for IfcBurner boost::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > Ifc4x3_add2::IfcBurner::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcBurnerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8661,7 +8661,7 @@ void Ifc4x3_add2::IfcBurner::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcBurner::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[127]); } const IfcParse::entity& Ifc4x3_add2::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[127]); } Ifc4x3_add2::IfcBurner::IfcBurner(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcBurner::IfcBurner(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcBurner::IfcBurner(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcBurnerType ::Ifc4x3_add2::IfcBurnerTypeEnum::Value Ifc4x3_add2::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_add2::IfcBurnerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8671,7 +8671,7 @@ void Ifc4x3_add2::IfcBurnerType::setPredefinedType(::Ifc4x3_add2::IfcBurnerTypeE const IfcParse::entity& Ifc4x3_add2::IfcBurnerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[128]); } const IfcParse::entity& Ifc4x3_add2::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[128]); } Ifc4x3_add2::IfcBurnerType::IfcBurnerType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcBurnerType::IfcBurnerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBurnerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcBurnerType::IfcBurnerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBurnerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_add2::IfcCShapeProfileDef::Depth() const { double v = data_.get_attribute_value(3); return v; } @@ -8689,7 +8689,7 @@ void Ifc4x3_add2::IfcCShapeProfileDef::setInternalFilletRadius(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcCShapeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[265]); } const IfcParse::entity& Ifc4x3_add2::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[265]); } Ifc4x3_add2::IfcCShapeProfileDef::IfcCShapeProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcCShapeProfileDef::IfcCShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, boost::optional< double > v8_InternalFilletRadius) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_Width));set_attribute_value(5, (v6_WallThickness));set_attribute_value(6, (v7_Girth)); if (v8_InternalFilletRadius) {set_attribute_value(7, (*v8_InternalFilletRadius)); } } +Ifc4x3_add2::IfcCShapeProfileDef::IfcCShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, boost::optional< double > v8_InternalFilletRadius) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_Width));set_attribute_value(5, (v6_WallThickness));set_attribute_value(6, (v7_Girth)); if (v8_InternalFilletRadius) {set_attribute_value(7, (*v8_InternalFilletRadius)); }; populate_derived(); } // Function implementations for IfcCableCarrierFitting boost::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_add2::IfcCableCarrierFitting::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8699,7 +8699,7 @@ void Ifc4x3_add2::IfcCableCarrierFitting::setPredefinedType(boost::optional< ::I const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierFitting::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[130]); } const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[130]); } Ifc4x3_add2::IfcCableCarrierFitting::IfcCableCarrierFitting(IfcEntityInstanceData&& e) : IfcFlowFitting(std::move(e)) { } -Ifc4x3_add2::IfcCableCarrierFitting::IfcCableCarrierFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCableCarrierFitting::IfcCableCarrierFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_add2::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8709,7 +8709,7 @@ void Ifc4x3_add2::IfcCableCarrierFittingType::setPredefinedType(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierFittingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[131]); } const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[131]); } Ifc4x3_add2::IfcCableCarrierFittingType::IfcCableCarrierFittingType(IfcEntityInstanceData&& e) : IfcFlowFittingType(std::move(e)) { } -Ifc4x3_add2::IfcCableCarrierFittingType::IfcCableCarrierFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCableCarrierFittingType::IfcCableCarrierFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCableCarrierSegment boost::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_add2::IfcCableCarrierSegment::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8719,7 +8719,7 @@ void Ifc4x3_add2::IfcCableCarrierSegment::setPredefinedType(boost::optional< ::I const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[133]); } const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[133]); } Ifc4x3_add2::IfcCableCarrierSegment::IfcCableCarrierSegment(IfcEntityInstanceData&& e) : IfcFlowSegment(std::move(e)) { } -Ifc4x3_add2::IfcCableCarrierSegment::IfcCableCarrierSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCableCarrierSegment::IfcCableCarrierSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_add2::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8729,7 +8729,7 @@ void Ifc4x3_add2::IfcCableCarrierSegmentType::setPredefinedType(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierSegmentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[134]); } const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[134]); } Ifc4x3_add2::IfcCableCarrierSegmentType::IfcCableCarrierSegmentType(IfcEntityInstanceData&& e) : IfcFlowSegmentType(std::move(e)) { } -Ifc4x3_add2::IfcCableCarrierSegmentType::IfcCableCarrierSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCableCarrierSegmentType::IfcCableCarrierSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCableFitting boost::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > Ifc4x3_add2::IfcCableFitting::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCableFittingTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8739,7 +8739,7 @@ void Ifc4x3_add2::IfcCableFitting::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcCableFitting::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[136]); } const IfcParse::entity& Ifc4x3_add2::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[136]); } Ifc4x3_add2::IfcCableFitting::IfcCableFitting(IfcEntityInstanceData&& e) : IfcFlowFitting(std::move(e)) { } -Ifc4x3_add2::IfcCableFitting::IfcCableFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCableFitting::IfcCableFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCableFittingType ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value Ifc4x3_add2::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableFittingTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8749,7 +8749,7 @@ void Ifc4x3_add2::IfcCableFittingType::setPredefinedType(::Ifc4x3_add2::IfcCable const IfcParse::entity& Ifc4x3_add2::IfcCableFittingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[137]); } const IfcParse::entity& Ifc4x3_add2::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[137]); } Ifc4x3_add2::IfcCableFittingType::IfcCableFittingType(IfcEntityInstanceData&& e) : IfcFlowFittingType(std::move(e)) { } -Ifc4x3_add2::IfcCableFittingType::IfcCableFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCableFittingType::IfcCableFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCableSegment boost::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > Ifc4x3_add2::IfcCableSegment::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCableSegmentTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8759,7 +8759,7 @@ void Ifc4x3_add2::IfcCableSegment::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcCableSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[139]); } const IfcParse::entity& Ifc4x3_add2::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[139]); } Ifc4x3_add2::IfcCableSegment::IfcCableSegment(IfcEntityInstanceData&& e) : IfcFlowSegment(std::move(e)) { } -Ifc4x3_add2::IfcCableSegment::IfcCableSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCableSegment::IfcCableSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCableSegmentType ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value Ifc4x3_add2::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableSegmentTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8769,7 +8769,7 @@ void Ifc4x3_add2::IfcCableSegmentType::setPredefinedType(::Ifc4x3_add2::IfcCable const IfcParse::entity& Ifc4x3_add2::IfcCableSegmentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[140]); } const IfcParse::entity& Ifc4x3_add2::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[140]); } Ifc4x3_add2::IfcCableSegmentType::IfcCableSegmentType(IfcEntityInstanceData&& e) : IfcFlowSegmentType(std::move(e)) { } -Ifc4x3_add2::IfcCableSegmentType::IfcCableSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCableSegmentType::IfcCableSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCaissonFoundation boost::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_add2::IfcCaissonFoundation::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8779,7 +8779,7 @@ void Ifc4x3_add2::IfcCaissonFoundation::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcCaissonFoundation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[142]); } const IfcParse::entity& Ifc4x3_add2::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[142]); } Ifc4x3_add2::IfcCaissonFoundation::IfcCaissonFoundation(IfcEntityInstanceData&& e) : IfcDeepFoundation(std::move(e)) { } -Ifc4x3_add2::IfcCaissonFoundation::IfcCaissonFoundation(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) : IfcDeepFoundation(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCaissonFoundation::IfcCaissonFoundation(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) : IfcDeepFoundation(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value Ifc4x3_add2::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8789,7 +8789,7 @@ void Ifc4x3_add2::IfcCaissonFoundationType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcCaissonFoundationType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[143]); } const IfcParse::entity& Ifc4x3_add2::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[143]); } Ifc4x3_add2::IfcCaissonFoundationType::IfcCaissonFoundationType(IfcEntityInstanceData&& e) : IfcDeepFoundationType(std::move(e)) { } -Ifc4x3_add2::IfcCaissonFoundationType::IfcCaissonFoundationType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) : IfcDeepFoundationType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCaissonFoundationType::IfcCaissonFoundationType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) : IfcDeepFoundationType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_add2::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = data_.get_attribute_value(0); return v; } @@ -8799,7 +8799,7 @@ void Ifc4x3_add2::IfcCartesianPoint::setCoordinates(std::vector< double > /*[1:3 const IfcParse::entity& Ifc4x3_add2::IfcCartesianPoint::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[146]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[146]); } Ifc4x3_add2::IfcCartesianPoint::IfcCartesianPoint(IfcEntityInstanceData&& e) : IfcPoint(std::move(e)) { } -Ifc4x3_add2::IfcCartesianPoint::IfcCartesianPoint(std::vector< double > /*[1:3]*/ v1_Coordinates) : IfcPoint(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Coordinates)); } +Ifc4x3_add2::IfcCartesianPoint::IfcCartesianPoint(std::vector< double > /*[1:3]*/ v1_Coordinates) : IfcPoint(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Coordinates));; populate_derived(); } // Function implementations for IfcCartesianPointList @@ -8807,7 +8807,7 @@ Ifc4x3_add2::IfcCartesianPoint::IfcCartesianPoint(std::vector< double > /*[1:3]* const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[147]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[147]); } Ifc4x3_add2::IfcCartesianPointList::IfcCartesianPointList(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcCartesianPointList::IfcCartesianPointList() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcCartesianPointList::IfcCartesianPointList() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcCartesianPointList2D std::vector< std::vector< double > > Ifc4x3_add2::IfcCartesianPointList2D::CoordList() const { std::vector< std::vector< double > > v = data_.get_attribute_value(0); return v; } @@ -8819,7 +8819,7 @@ void Ifc4x3_add2::IfcCartesianPointList2D::setTagList(boost::optional< std::vect const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList2D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[148]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[148]); } Ifc4x3_add2::IfcCartesianPointList2D::IfcCartesianPointList2D(IfcEntityInstanceData&& e) : IfcCartesianPointList(std::move(e)) { } -Ifc4x3_add2::IfcCartesianPointList2D::IfcCartesianPointList2D(std::vector< std::vector< double > > v1_CoordList, boost::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) : IfcCartesianPointList(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } +Ifc4x3_add2::IfcCartesianPointList2D::IfcCartesianPointList2D(std::vector< std::vector< double > > v1_CoordList, boost::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) : IfcCartesianPointList(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); }; populate_derived(); } // Function implementations for IfcCartesianPointList3D std::vector< std::vector< double > > Ifc4x3_add2::IfcCartesianPointList3D::CoordList() const { std::vector< std::vector< double > > v = data_.get_attribute_value(0); return v; } @@ -8831,7 +8831,7 @@ void Ifc4x3_add2::IfcCartesianPointList3D::setTagList(boost::optional< std::vect const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList3D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[149]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[149]); } Ifc4x3_add2::IfcCartesianPointList3D::IfcCartesianPointList3D(IfcEntityInstanceData&& e) : IfcCartesianPointList(std::move(e)) { } -Ifc4x3_add2::IfcCartesianPointList3D::IfcCartesianPointList3D(std::vector< std::vector< double > > v1_CoordList, boost::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) : IfcCartesianPointList(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } +Ifc4x3_add2::IfcCartesianPointList3D::IfcCartesianPointList3D(std::vector< std::vector< double > > v1_CoordList, boost::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) : IfcCartesianPointList(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); }; populate_derived(); } // Function implementations for IfcCartesianTransformationOperator ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcCartesianTransformationOperator::Axis1() const { if(data_.get_attribute_value(0).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -8847,7 +8847,7 @@ void Ifc4x3_add2::IfcCartesianTransformationOperator::setScale(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[150]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[150]); } Ifc4x3_add2::IfcCartesianTransformationOperator::IfcCartesianTransformationOperator(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcCartesianTransformationOperator::IfcCartesianTransformationOperator(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } +Ifc4x3_add2::IfcCartesianTransformationOperator::IfcCartesianTransformationOperator(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }; populate_derived(); } // Function implementations for IfcCartesianTransformationOperator2D @@ -8855,7 +8855,7 @@ Ifc4x3_add2::IfcCartesianTransformationOperator::IfcCartesianTransformationOpera const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[151]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[151]); } Ifc4x3_add2::IfcCartesianTransformationOperator2D::IfcCartesianTransformationOperator2D(IfcEntityInstanceData&& e) : IfcCartesianTransformationOperator(std::move(e)) { } -Ifc4x3_add2::IfcCartesianTransformationOperator2D::IfcCartesianTransformationOperator2D(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale) : IfcCartesianTransformationOperator(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } +Ifc4x3_add2::IfcCartesianTransformationOperator2D::IfcCartesianTransformationOperator2D(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale) : IfcCartesianTransformationOperator(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }; populate_derived(); } // Function implementations for IfcCartesianTransformationOperator2DnonUniform boost::optional< double > Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::Scale2() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } double v = data_.get_attribute_value(4); return v; } @@ -8865,7 +8865,7 @@ void Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::setScale2(boos const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[152]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[152]); } Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::IfcCartesianTransformationOperator2DnonUniform(IfcEntityInstanceData&& e) : IfcCartesianTransformationOperator2D(std::move(e)) { } -Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::IfcCartesianTransformationOperator2DnonUniform(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale, boost::optional< double > v5_Scale2) : IfcCartesianTransformationOperator2D(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } +Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::IfcCartesianTransformationOperator2DnonUniform(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale, boost::optional< double > v5_Scale2) : IfcCartesianTransformationOperator2D(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); }; populate_derived(); } // Function implementations for IfcCartesianTransformationOperator3D ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcCartesianTransformationOperator3D::Axis3() const { if(data_.get_attribute_value(4).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -8875,7 +8875,7 @@ void Ifc4x3_add2::IfcCartesianTransformationOperator3D::setAxis3(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[153]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[153]); } Ifc4x3_add2::IfcCartesianTransformationOperator3D::IfcCartesianTransformationOperator3D(IfcEntityInstanceData&& e) : IfcCartesianTransformationOperator(std::move(e)) { } -Ifc4x3_add2::IfcCartesianTransformationOperator3D::IfcCartesianTransformationOperator3D(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection* v5_Axis3) : IfcCartesianTransformationOperator(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, v5_Axis3 ? v5_Axis3->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcCartesianTransformationOperator3D::IfcCartesianTransformationOperator3D(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection* v5_Axis3) : IfcCartesianTransformationOperator(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, v5_Axis3 ? v5_Axis3->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform boost::optional< double > Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::Scale2() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } double v = data_.get_attribute_value(5); return v; } @@ -8887,7 +8887,7 @@ void Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::setScale3(boos const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[154]); } const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[154]); } Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::IfcCartesianTransformationOperator3DnonUniform(IfcEntityInstanceData&& e) : IfcCartesianTransformationOperator3D(std::move(e)) { } -Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::IfcCartesianTransformationOperator3DnonUniform(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection* v5_Axis3, boost::optional< double > v6_Scale2, boost::optional< double > v7_Scale3) : IfcCartesianTransformationOperator3D(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, v5_Axis3 ? v5_Axis3->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } +Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::IfcCartesianTransformationOperator3DnonUniform(::Ifc4x3_add2::IfcDirection* v1_Axis1, ::Ifc4x3_add2::IfcDirection* v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint* v3_LocalOrigin, boost::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection* v5_Axis3, boost::optional< double > v6_Scale2, boost::optional< double > v7_Scale3) : IfcCartesianTransformationOperator3D(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_Axis1 ? v1_Axis1->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Axis2 ? v2_Axis2->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_LocalOrigin ? v3_LocalOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, v5_Axis3 ? v5_Axis3->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); }; populate_derived(); } // Function implementations for IfcCenterLineProfileDef double Ifc4x3_add2::IfcCenterLineProfileDef::Thickness() const { double v = data_.get_attribute_value(3); return v; } @@ -8897,7 +8897,7 @@ void Ifc4x3_add2::IfcCenterLineProfileDef::setThickness(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcCenterLineProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[155]); } const IfcParse::entity& Ifc4x3_add2::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[155]); } Ifc4x3_add2::IfcCenterLineProfileDef::IfcCenterLineProfileDef(IfcEntityInstanceData&& e) : IfcArbitraryOpenProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcCenterLineProfileDef::IfcCenterLineProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve* v3_Curve, double v4_Thickness) : IfcArbitraryOpenProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Curve ? v3_Curve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Thickness)); } +Ifc4x3_add2::IfcCenterLineProfileDef::IfcCenterLineProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve* v3_Curve, double v4_Thickness) : IfcArbitraryOpenProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Curve ? v3_Curve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Thickness));; populate_derived(); } // Function implementations for IfcChiller boost::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > Ifc4x3_add2::IfcChiller::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcChillerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8907,7 +8907,7 @@ void Ifc4x3_add2::IfcChiller::setPredefinedType(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcChiller::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[157]); } const IfcParse::entity& Ifc4x3_add2::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[157]); } Ifc4x3_add2::IfcChiller::IfcChiller(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcChiller::IfcChiller(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcChiller::IfcChiller(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcChillerType ::Ifc4x3_add2::IfcChillerTypeEnum::Value Ifc4x3_add2::IfcChillerType::PredefinedType() const { return ::Ifc4x3_add2::IfcChillerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8917,7 +8917,7 @@ void Ifc4x3_add2::IfcChillerType::setPredefinedType(::Ifc4x3_add2::IfcChillerTyp const IfcParse::entity& Ifc4x3_add2::IfcChillerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[158]); } const IfcParse::entity& Ifc4x3_add2::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[158]); } Ifc4x3_add2::IfcChillerType::IfcChillerType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcChillerType::IfcChillerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChillerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcChillerType::IfcChillerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChillerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcChimney boost::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > Ifc4x3_add2::IfcChimney::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcChimneyTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -8927,7 +8927,7 @@ void Ifc4x3_add2::IfcChimney::setPredefinedType(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcChimney::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[160]); } const IfcParse::entity& Ifc4x3_add2::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[160]); } Ifc4x3_add2::IfcChimney::IfcChimney(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcChimney::IfcChimney(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcChimney::IfcChimney(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcChimneyType ::Ifc4x3_add2::IfcChimneyTypeEnum::Value Ifc4x3_add2::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_add2::IfcChimneyTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -8937,7 +8937,7 @@ void Ifc4x3_add2::IfcChimneyType::setPredefinedType(::Ifc4x3_add2::IfcChimneyTyp const IfcParse::entity& Ifc4x3_add2::IfcChimneyType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[161]); } const IfcParse::entity& Ifc4x3_add2::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[161]); } Ifc4x3_add2::IfcChimneyType::IfcChimneyType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcChimneyType::IfcChimneyType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChimneyTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcChimneyType::IfcChimneyType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChimneyTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCircle double Ifc4x3_add2::IfcCircle::Radius() const { double v = data_.get_attribute_value(1); return v; } @@ -8947,7 +8947,7 @@ void Ifc4x3_add2::IfcCircle::setRadius(double v) { set_attribute_value(1, v);if const IfcParse::entity& Ifc4x3_add2::IfcCircle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[163]); } const IfcParse::entity& Ifc4x3_add2::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[163]); } Ifc4x3_add2::IfcCircle::IfcCircle(IfcEntityInstanceData&& e) : IfcConic(std::move(e)) { } -Ifc4x3_add2::IfcCircle::IfcCircle(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_Radius) : IfcConic(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); } +Ifc4x3_add2::IfcCircle::IfcCircle(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_Radius) : IfcConic(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius));; populate_derived(); } // Function implementations for IfcCircleHollowProfileDef double Ifc4x3_add2::IfcCircleHollowProfileDef::WallThickness() const { double v = data_.get_attribute_value(4); return v; } @@ -8957,7 +8957,7 @@ void Ifc4x3_add2::IfcCircleHollowProfileDef::setWallThickness(double v) { set_at const IfcParse::entity& Ifc4x3_add2::IfcCircleHollowProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[164]); } const IfcParse::entity& Ifc4x3_add2::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[164]); } Ifc4x3_add2::IfcCircleHollowProfileDef::IfcCircleHollowProfileDef(IfcEntityInstanceData&& e) : IfcCircleProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcCircleHollowProfileDef::IfcCircleHollowProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Radius, double v5_WallThickness) : IfcCircleProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +Ifc4x3_add2::IfcCircleHollowProfileDef::IfcCircleHollowProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Radius, double v5_WallThickness) : IfcCircleProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness));; populate_derived(); } // Function implementations for IfcCircleProfileDef double Ifc4x3_add2::IfcCircleProfileDef::Radius() const { double v = data_.get_attribute_value(3); return v; } @@ -8967,7 +8967,7 @@ void Ifc4x3_add2::IfcCircleProfileDef::setRadius(double v) { set_attribute_value const IfcParse::entity& Ifc4x3_add2::IfcCircleProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[165]); } const IfcParse::entity& Ifc4x3_add2::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[165]); } Ifc4x3_add2::IfcCircleProfileDef::IfcCircleProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcCircleProfileDef::IfcCircleProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Radius) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Radius)); } +Ifc4x3_add2::IfcCircleProfileDef::IfcCircleProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Radius) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Radius));; populate_derived(); } // Function implementations for IfcCivilElement @@ -8975,7 +8975,7 @@ Ifc4x3_add2::IfcCircleProfileDef::IfcCircleProfileDef(::Ifc4x3_add2::IfcProfileT const IfcParse::entity& Ifc4x3_add2::IfcCivilElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[166]); } const IfcParse::entity& Ifc4x3_add2::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[166]); } Ifc4x3_add2::IfcCivilElement::IfcCivilElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcCivilElement::IfcCivilElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcCivilElement::IfcCivilElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcCivilElementType @@ -8983,7 +8983,7 @@ Ifc4x3_add2::IfcCivilElement::IfcCivilElement(std::string v1_GlobalId, ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcCivilElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[167]); } const IfcParse::entity& Ifc4x3_add2::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[167]); } Ifc4x3_add2::IfcCivilElementType::IfcCivilElementType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcCivilElementType::IfcCivilElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcCivilElementType::IfcCivilElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcClassification boost::optional< std::string > Ifc4x3_add2::IfcClassification::Source() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -9007,7 +9007,7 @@ void Ifc4x3_add2::IfcClassification::setReferenceTokens(boost::optional< std::ve const IfcParse::entity& Ifc4x3_add2::IfcClassification::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[168]); } const IfcParse::entity& Ifc4x3_add2::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[168]); } Ifc4x3_add2::IfcClassification::IfcClassification(IfcEntityInstanceData&& e) : IfcExternalInformation(std::move(e)) { } -Ifc4x3_add2::IfcClassification::IfcClassification(boost::optional< std::string > v1_Source, boost::optional< std::string > v2_Edition, boost::optional< std::string > v3_EditionDate, std::string v4_Name, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Specification, boost::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) : IfcExternalInformation(IfcEntityInstanceData(storage_t(7))) { if (v1_Source) {set_attribute_value(0, (*v1_Source)); } if (v2_Edition) {set_attribute_value(1, (*v2_Edition)); } if (v3_EditionDate) {set_attribute_value(2, (*v3_EditionDate)); }set_attribute_value(3, (v4_Name)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Specification) {set_attribute_value(5, (*v6_Specification)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } +Ifc4x3_add2::IfcClassification::IfcClassification(boost::optional< std::string > v1_Source, boost::optional< std::string > v2_Edition, boost::optional< std::string > v3_EditionDate, std::string v4_Name, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Specification, boost::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) : IfcExternalInformation(IfcEntityInstanceData(storage_t(7))) { if (v1_Source) {set_attribute_value(0, (*v1_Source)); } if (v2_Edition) {set_attribute_value(1, (*v2_Edition)); } if (v3_EditionDate) {set_attribute_value(2, (*v3_EditionDate)); }set_attribute_value(3, (v4_Name)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Specification) {set_attribute_value(5, (*v6_Specification)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); }; populate_derived(); } // Function implementations for IfcClassificationReference ::Ifc4x3_add2::IfcClassificationReferenceSelect* Ifc4x3_add2::IfcClassificationReference::ReferencedSource() const { if(data_.get_attribute_value(3).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcClassificationReferenceSelect>(true); } @@ -9023,7 +9023,7 @@ void Ifc4x3_add2::IfcClassificationReference::setSort(boost::optional< std::stri const IfcParse::entity& Ifc4x3_add2::IfcClassificationReference::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[169]); } const IfcParse::entity& Ifc4x3_add2::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[169]); } Ifc4x3_add2::IfcClassificationReference::IfcClassificationReference(IfcEntityInstanceData&& e) : IfcExternalReference(std::move(e)) { } -Ifc4x3_add2::IfcClassificationReference::IfcClassificationReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name, ::Ifc4x3_add2::IfcClassificationReferenceSelect* v4_ReferencedSource, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Sort) : IfcExternalReference(IfcEntityInstanceData(storage_t(6))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, v4_ReferencedSource ? v4_ReferencedSource->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } +Ifc4x3_add2::IfcClassificationReference::IfcClassificationReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name, ::Ifc4x3_add2::IfcClassificationReferenceSelect* v4_ReferencedSource, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Sort) : IfcExternalReference(IfcEntityInstanceData(storage_t(6))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, v4_ReferencedSource ? v4_ReferencedSource->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); }; populate_derived(); } // Function implementations for IfcClosedShell @@ -9031,7 +9031,7 @@ Ifc4x3_add2::IfcClassificationReference::IfcClassificationReference(boost::optio const IfcParse::entity& Ifc4x3_add2::IfcClosedShell::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[172]); } const IfcParse::entity& Ifc4x3_add2::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[172]); } Ifc4x3_add2::IfcClosedShell::IfcClosedShell(IfcEntityInstanceData&& e) : IfcConnectedFaceSet(std::move(e)) { } -Ifc4x3_add2::IfcClosedShell::IfcClosedShell(aggregate_of< ::Ifc4x3_add2::IfcFace >::ptr v1_CfsFaces) : IfcConnectedFaceSet(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CfsFaces)->generalize()); } +Ifc4x3_add2::IfcClosedShell::IfcClosedShell(aggregate_of< ::Ifc4x3_add2::IfcFace >::ptr v1_CfsFaces) : IfcConnectedFaceSet(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CfsFaces)->generalize());; populate_derived(); } // Function implementations for IfcClothoid double Ifc4x3_add2::IfcClothoid::ClothoidConstant() const { double v = data_.get_attribute_value(1); return v; } @@ -9041,7 +9041,7 @@ void Ifc4x3_add2::IfcClothoid::setClothoidConstant(double v) { set_attribute_val const IfcParse::entity& Ifc4x3_add2::IfcClothoid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[173]); } const IfcParse::entity& Ifc4x3_add2::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[173]); } Ifc4x3_add2::IfcClothoid::IfcClothoid(IfcEntityInstanceData&& e) : IfcSpiral(std::move(e)) { } -Ifc4x3_add2::IfcClothoid::IfcClothoid(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_ClothoidConstant) : IfcSpiral(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_ClothoidConstant)); } +Ifc4x3_add2::IfcClothoid::IfcClothoid(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_ClothoidConstant) : IfcSpiral(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_ClothoidConstant));; populate_derived(); } // Function implementations for IfcCoil boost::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > Ifc4x3_add2::IfcCoil::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCoilTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9051,7 +9051,7 @@ void Ifc4x3_add2::IfcCoil::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcCoil::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[174]); } const IfcParse::entity& Ifc4x3_add2::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[174]); } Ifc4x3_add2::IfcCoil::IfcCoil(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcCoil::IfcCoil(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCoil::IfcCoil(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCoilType ::Ifc4x3_add2::IfcCoilTypeEnum::Value Ifc4x3_add2::IfcCoilType::PredefinedType() const { return ::Ifc4x3_add2::IfcCoilTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9061,7 +9061,7 @@ void Ifc4x3_add2::IfcCoilType::setPredefinedType(::Ifc4x3_add2::IfcCoilTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcCoilType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[175]); } const IfcParse::entity& Ifc4x3_add2::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[175]); } Ifc4x3_add2::IfcCoilType::IfcCoilType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcCoilType::IfcCoilType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoilTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCoilType::IfcCoilType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoilTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcColourRgb double Ifc4x3_add2::IfcColourRgb::Red() const { double v = data_.get_attribute_value(1); return v; } @@ -9075,7 +9075,7 @@ void Ifc4x3_add2::IfcColourRgb::setBlue(double v) { set_attribute_value(3, v);if const IfcParse::entity& Ifc4x3_add2::IfcColourRgb::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[179]); } const IfcParse::entity& Ifc4x3_add2::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[179]); } Ifc4x3_add2::IfcColourRgb::IfcColourRgb(IfcEntityInstanceData&& e) : IfcColourSpecification(std::move(e)) { } -Ifc4x3_add2::IfcColourRgb::IfcColourRgb(boost::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) : IfcColourSpecification(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_Red));set_attribute_value(2, (v3_Green));set_attribute_value(3, (v4_Blue)); } +Ifc4x3_add2::IfcColourRgb::IfcColourRgb(boost::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) : IfcColourSpecification(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_Red));set_attribute_value(2, (v3_Green));set_attribute_value(3, (v4_Blue));; populate_derived(); } // Function implementations for IfcColourRgbList std::vector< std::vector< double > > Ifc4x3_add2::IfcColourRgbList::ColourList() const { std::vector< std::vector< double > > v = data_.get_attribute_value(0); return v; } @@ -9085,7 +9085,7 @@ void Ifc4x3_add2::IfcColourRgbList::setColourList(std::vector< std::vector< doub const IfcParse::entity& Ifc4x3_add2::IfcColourRgbList::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[180]); } const IfcParse::entity& Ifc4x3_add2::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[180]); } Ifc4x3_add2::IfcColourRgbList::IfcColourRgbList(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcColourRgbList::IfcColourRgbList(std::vector< std::vector< double > > v1_ColourList) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_ColourList)); } +Ifc4x3_add2::IfcColourRgbList::IfcColourRgbList(std::vector< std::vector< double > > v1_ColourList) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_ColourList));; populate_derived(); } // Function implementations for IfcColourSpecification boost::optional< std::string > Ifc4x3_add2::IfcColourSpecification::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -9095,7 +9095,7 @@ void Ifc4x3_add2::IfcColourSpecification::setName(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcColourSpecification::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[181]); } const IfcParse::entity& Ifc4x3_add2::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[181]); } Ifc4x3_add2::IfcColourSpecification::IfcColourSpecification(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcColourSpecification::IfcColourSpecification(boost::optional< std::string > v1_Name) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } +Ifc4x3_add2::IfcColourSpecification::IfcColourSpecification(boost::optional< std::string > v1_Name) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; populate_derived(); } // Function implementations for IfcColumn boost::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > Ifc4x3_add2::IfcColumn::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcColumnTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9105,7 +9105,7 @@ void Ifc4x3_add2::IfcColumn::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcColumn::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[182]); } const IfcParse::entity& Ifc4x3_add2::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[182]); } Ifc4x3_add2::IfcColumn::IfcColumn(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcColumn::IfcColumn(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcColumn::IfcColumn(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcColumnType ::Ifc4x3_add2::IfcColumnTypeEnum::Value Ifc4x3_add2::IfcColumnType::PredefinedType() const { return ::Ifc4x3_add2::IfcColumnTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9115,7 +9115,7 @@ void Ifc4x3_add2::IfcColumnType::setPredefinedType(::Ifc4x3_add2::IfcColumnTypeE const IfcParse::entity& Ifc4x3_add2::IfcColumnType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[183]); } const IfcParse::entity& Ifc4x3_add2::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[183]); } Ifc4x3_add2::IfcColumnType::IfcColumnType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcColumnType::IfcColumnType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcColumnTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcColumnType::IfcColumnType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcColumnTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCommunicationsAppliance boost::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_add2::IfcCommunicationsAppliance::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9125,7 +9125,7 @@ void Ifc4x3_add2::IfcCommunicationsAppliance::setPredefinedType(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcCommunicationsAppliance::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[185]); } const IfcParse::entity& Ifc4x3_add2::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[185]); } Ifc4x3_add2::IfcCommunicationsAppliance::IfcCommunicationsAppliance(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcCommunicationsAppliance::IfcCommunicationsAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCommunicationsAppliance::IfcCommunicationsAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_add2::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9135,7 +9135,7 @@ void Ifc4x3_add2::IfcCommunicationsApplianceType::setPredefinedType(::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcCommunicationsApplianceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[186]); } const IfcParse::entity& Ifc4x3_add2::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[186]); } Ifc4x3_add2::IfcCommunicationsApplianceType::IfcCommunicationsApplianceType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcCommunicationsApplianceType::IfcCommunicationsApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCommunicationsApplianceType::IfcCommunicationsApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcComplexProperty std::string Ifc4x3_add2::IfcComplexProperty::UsageName() const { std::string v = data_.get_attribute_value(2); return v; } @@ -9147,7 +9147,7 @@ void Ifc4x3_add2::IfcComplexProperty::setHasProperties(aggregate_of< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcComplexProperty::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[189]); } const IfcParse::entity& Ifc4x3_add2::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[189]); } Ifc4x3_add2::IfcComplexProperty::IfcComplexProperty(IfcEntityInstanceData&& e) : IfcProperty(std::move(e)) { } -Ifc4x3_add2::IfcComplexProperty::IfcComplexProperty(std::string v1_Name, boost::optional< std::string > v2_Specification, std::string v3_UsageName, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v4_HasProperties) : IfcProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, (v4_HasProperties)->generalize()); } +Ifc4x3_add2::IfcComplexProperty::IfcComplexProperty(std::string v1_Name, boost::optional< std::string > v2_Specification, std::string v3_UsageName, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v4_HasProperties) : IfcProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, (v4_HasProperties)->generalize());; populate_derived(); } // Function implementations for IfcComplexPropertyTemplate boost::optional< std::string > Ifc4x3_add2::IfcComplexPropertyTemplate::UsageName() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(4); return v; } @@ -9161,7 +9161,7 @@ void Ifc4x3_add2::IfcComplexPropertyTemplate::setHasPropertyTemplates(boost::opt const IfcParse::entity& Ifc4x3_add2::IfcComplexPropertyTemplate::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[190]); } const IfcParse::entity& Ifc4x3_add2::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[190]); } Ifc4x3_add2::IfcComplexPropertyTemplate::IfcComplexPropertyTemplate(IfcEntityInstanceData&& e) : IfcPropertyTemplate(std::move(e)) { } -Ifc4x3_add2::IfcComplexPropertyTemplate::IfcComplexPropertyTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_UsageName, boost::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertyTemplate >::ptr > v7_HasPropertyTemplates) : IfcPropertyTemplate(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_UsageName) {set_attribute_value(4, (*v5_UsageName)); } if (v6_TemplateType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, (*v7_HasPropertyTemplates)->generalize()); } } +Ifc4x3_add2::IfcComplexPropertyTemplate::IfcComplexPropertyTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_UsageName, boost::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertyTemplate >::ptr > v7_HasPropertyTemplates) : IfcPropertyTemplate(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_UsageName) {set_attribute_value(4, (*v5_UsageName)); } if (v6_TemplateType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, (*v7_HasPropertyTemplates)->generalize()); }; populate_derived(); } // Function implementations for IfcCompositeCurve aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr Ifc4x3_add2::IfcCompositeCurve::Segments() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcSegment >(); } @@ -9173,7 +9173,7 @@ void Ifc4x3_add2::IfcCompositeCurve::setSelfIntersect(boost::logic::tribool v) { const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[192]); } const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[192]); } Ifc4x3_add2::IfcCompositeCurve::IfcCompositeCurve(IfcEntityInstanceData&& e) : IfcBoundedCurve(std::move(e)) { } -Ifc4x3_add2::IfcCompositeCurve::IfcCompositeCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect)); } +Ifc4x3_add2::IfcCompositeCurve::IfcCompositeCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));; populate_derived(); } // Function implementations for IfcCompositeCurveOnSurface @@ -9181,7 +9181,7 @@ Ifc4x3_add2::IfcCompositeCurve::IfcCompositeCurve(aggregate_of< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurveOnSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[193]); } const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[193]); } Ifc4x3_add2::IfcCompositeCurveOnSurface::IfcCompositeCurveOnSurface(IfcEntityInstanceData&& e) : IfcCompositeCurve(std::move(e)) { } -Ifc4x3_add2::IfcCompositeCurveOnSurface::IfcCompositeCurveOnSurface(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcCompositeCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect)); } +Ifc4x3_add2::IfcCompositeCurveOnSurface::IfcCompositeCurveOnSurface(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcCompositeCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));; populate_derived(); } // Function implementations for IfcCompositeCurveSegment bool Ifc4x3_add2::IfcCompositeCurveSegment::SameSense() const { bool v = data_.get_attribute_value(1); return v; } @@ -9193,7 +9193,7 @@ void Ifc4x3_add2::IfcCompositeCurveSegment::setParentCurve(::Ifc4x3_add2::IfcCur const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurveSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[194]); } const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[194]); } Ifc4x3_add2::IfcCompositeCurveSegment::IfcCompositeCurveSegment(IfcEntityInstanceData&& e) : IfcSegment(std::move(e)) { } -Ifc4x3_add2::IfcCompositeCurveSegment::IfcCompositeCurveSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve* v3_ParentCurve) : IfcSegment(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, v3_ParentCurve ? v3_ParentCurve->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcCompositeCurveSegment::IfcCompositeCurveSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve* v3_ParentCurve) : IfcSegment(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, v3_ParentCurve ? v3_ParentCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcCompositeProfileDef aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr Ifc4x3_add2::IfcCompositeProfileDef::Profiles() const { aggregate_of_instance::ptr es = data_.get_attribute_value(2); return es->as< ::Ifc4x3_add2::IfcProfileDef >(); } @@ -9205,7 +9205,7 @@ void Ifc4x3_add2::IfcCompositeProfileDef::setLabel(boost::optional< std::string const IfcParse::entity& Ifc4x3_add2::IfcCompositeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[195]); } const IfcParse::entity& Ifc4x3_add2::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[195]); } Ifc4x3_add2::IfcCompositeProfileDef::IfcCompositeProfileDef(IfcEntityInstanceData&& e) : IfcProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcCompositeProfileDef::IfcCompositeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v3_Profiles, boost::optional< std::string > v4_Label) : IfcProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Profiles)->generalize()); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +Ifc4x3_add2::IfcCompositeProfileDef::IfcCompositeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v3_Profiles, boost::optional< std::string > v4_Label) : IfcProfileDef(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Profiles)->generalize()); if (v4_Label) {set_attribute_value(3, (*v4_Label)); }; populate_derived(); } // Function implementations for IfcCompressor boost::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > Ifc4x3_add2::IfcCompressor::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCompressorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9215,7 +9215,7 @@ void Ifc4x3_add2::IfcCompressor::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcCompressor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[197]); } const IfcParse::entity& Ifc4x3_add2::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[197]); } Ifc4x3_add2::IfcCompressor::IfcCompressor(IfcEntityInstanceData&& e) : IfcFlowMovingDevice(std::move(e)) { } -Ifc4x3_add2::IfcCompressor::IfcCompressor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > v9_PredefinedType) : IfcFlowMovingDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCompressor::IfcCompressor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > v9_PredefinedType) : IfcFlowMovingDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCompressorType ::Ifc4x3_add2::IfcCompressorTypeEnum::Value Ifc4x3_add2::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_add2::IfcCompressorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9225,7 +9225,7 @@ void Ifc4x3_add2::IfcCompressorType::setPredefinedType(::Ifc4x3_add2::IfcCompres const IfcParse::entity& Ifc4x3_add2::IfcCompressorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[198]); } const IfcParse::entity& Ifc4x3_add2::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[198]); } Ifc4x3_add2::IfcCompressorType::IfcCompressorType(IfcEntityInstanceData&& e) : IfcFlowMovingDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcCompressorType::IfcCompressorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCompressorTypeEnum::Value v10_PredefinedType) : IfcFlowMovingDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCompressorType::IfcCompressorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCompressorTypeEnum::Value v10_PredefinedType) : IfcFlowMovingDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCondenser boost::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > Ifc4x3_add2::IfcCondenser::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCondenserTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9235,7 +9235,7 @@ void Ifc4x3_add2::IfcCondenser::setPredefinedType(boost::optional< ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcCondenser::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[200]); } const IfcParse::entity& Ifc4x3_add2::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[200]); } Ifc4x3_add2::IfcCondenser::IfcCondenser(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcCondenser::IfcCondenser(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCondenser::IfcCondenser(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCondenserType ::Ifc4x3_add2::IfcCondenserTypeEnum::Value Ifc4x3_add2::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_add2::IfcCondenserTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9245,7 +9245,7 @@ void Ifc4x3_add2::IfcCondenserType::setPredefinedType(::Ifc4x3_add2::IfcCondense const IfcParse::entity& Ifc4x3_add2::IfcCondenserType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[201]); } const IfcParse::entity& Ifc4x3_add2::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[201]); } Ifc4x3_add2::IfcCondenserType::IfcCondenserType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcCondenserType::IfcCondenserType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCondenserTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCondenserType::IfcCondenserType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCondenserTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcConic ::Ifc4x3_add2::IfcAxis2Placement* Ifc4x3_add2::IfcConic::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcAxis2Placement>(true); } @@ -9255,7 +9255,7 @@ void Ifc4x3_add2::IfcConic::setPosition(::Ifc4x3_add2::IfcAxis2Placement* v) { s const IfcParse::entity& Ifc4x3_add2::IfcConic::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[203]); } const IfcParse::entity& Ifc4x3_add2::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[203]); } Ifc4x3_add2::IfcConic::IfcConic(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcConic::IfcConic(::Ifc4x3_add2::IfcAxis2Placement* v1_Position) : IfcCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConic::IfcConic(::Ifc4x3_add2::IfcAxis2Placement* v1_Position) : IfcCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcConnectedFaceSet aggregate_of< ::Ifc4x3_add2::IfcFace >::ptr Ifc4x3_add2::IfcConnectedFaceSet::CfsFaces() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcFace >(); } @@ -9265,7 +9265,7 @@ void Ifc4x3_add2::IfcConnectedFaceSet::setCfsFaces(aggregate_of< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcConnectedFaceSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[204]); } const IfcParse::entity& Ifc4x3_add2::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[204]); } Ifc4x3_add2::IfcConnectedFaceSet::IfcConnectedFaceSet(IfcEntityInstanceData&& e) : IfcTopologicalRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcConnectedFaceSet::IfcConnectedFaceSet(aggregate_of< ::Ifc4x3_add2::IfcFace >::ptr v1_CfsFaces) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CfsFaces)->generalize()); } +Ifc4x3_add2::IfcConnectedFaceSet::IfcConnectedFaceSet(aggregate_of< ::Ifc4x3_add2::IfcFace >::ptr v1_CfsFaces) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CfsFaces)->generalize());; populate_derived(); } // Function implementations for IfcConnectionCurveGeometry ::Ifc4x3_add2::IfcCurveOrEdgeCurve* Ifc4x3_add2::IfcConnectionCurveGeometry::CurveOnRelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurveOrEdgeCurve>(true); } @@ -9277,7 +9277,7 @@ void Ifc4x3_add2::IfcConnectionCurveGeometry::setCurveOnRelatedElement(::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcConnectionCurveGeometry::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[205]); } const IfcParse::entity& Ifc4x3_add2::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[205]); } Ifc4x3_add2::IfcConnectionCurveGeometry::IfcConnectionCurveGeometry(IfcEntityInstanceData&& e) : IfcConnectionGeometry(std::move(e)) { } -Ifc4x3_add2::IfcConnectionCurveGeometry::IfcConnectionCurveGeometry(::Ifc4x3_add2::IfcCurveOrEdgeCurve* v1_CurveOnRelatingElement, ::Ifc4x3_add2::IfcCurveOrEdgeCurve* v2_CurveOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_CurveOnRelatingElement ? v1_CurveOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_CurveOnRelatedElement ? v2_CurveOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConnectionCurveGeometry::IfcConnectionCurveGeometry(::Ifc4x3_add2::IfcCurveOrEdgeCurve* v1_CurveOnRelatingElement, ::Ifc4x3_add2::IfcCurveOrEdgeCurve* v2_CurveOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_CurveOnRelatingElement ? v1_CurveOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_CurveOnRelatedElement ? v2_CurveOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcConnectionGeometry @@ -9285,7 +9285,7 @@ Ifc4x3_add2::IfcConnectionCurveGeometry::IfcConnectionCurveGeometry(::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcConnectionGeometry::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[206]); } const IfcParse::entity& Ifc4x3_add2::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[206]); } Ifc4x3_add2::IfcConnectionGeometry::IfcConnectionGeometry(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcConnectionGeometry::IfcConnectionGeometry() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcConnectionGeometry::IfcConnectionGeometry() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcConnectionPointEccentricity boost::optional< double > Ifc4x3_add2::IfcConnectionPointEccentricity::EccentricityInX() const { if(data_.get_attribute_value(2).isNull()) { return boost::none; } double v = data_.get_attribute_value(2); return v; } @@ -9299,7 +9299,7 @@ void Ifc4x3_add2::IfcConnectionPointEccentricity::setEccentricityInZ(boost::opti const IfcParse::entity& Ifc4x3_add2::IfcConnectionPointEccentricity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[207]); } const IfcParse::entity& Ifc4x3_add2::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[207]); } Ifc4x3_add2::IfcConnectionPointEccentricity::IfcConnectionPointEccentricity(IfcEntityInstanceData&& e) : IfcConnectionPointGeometry(std::move(e)) { } -Ifc4x3_add2::IfcConnectionPointEccentricity::IfcConnectionPointEccentricity(::Ifc4x3_add2::IfcPointOrVertexPoint* v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint* v2_PointOnRelatedElement, boost::optional< double > v3_EccentricityInX, boost::optional< double > v4_EccentricityInY, boost::optional< double > v5_EccentricityInZ) : IfcConnectionPointGeometry(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_PointOnRelatingElement ? v1_PointOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_PointOnRelatedElement ? v2_PointOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_EccentricityInX) {set_attribute_value(2, (*v3_EccentricityInX)); } if (v4_EccentricityInY) {set_attribute_value(3, (*v4_EccentricityInY)); } if (v5_EccentricityInZ) {set_attribute_value(4, (*v5_EccentricityInZ)); } } +Ifc4x3_add2::IfcConnectionPointEccentricity::IfcConnectionPointEccentricity(::Ifc4x3_add2::IfcPointOrVertexPoint* v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint* v2_PointOnRelatedElement, boost::optional< double > v3_EccentricityInX, boost::optional< double > v4_EccentricityInY, boost::optional< double > v5_EccentricityInZ) : IfcConnectionPointGeometry(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_PointOnRelatingElement ? v1_PointOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_PointOnRelatedElement ? v2_PointOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_EccentricityInX) {set_attribute_value(2, (*v3_EccentricityInX)); } if (v4_EccentricityInY) {set_attribute_value(3, (*v4_EccentricityInY)); } if (v5_EccentricityInZ) {set_attribute_value(4, (*v5_EccentricityInZ)); }; populate_derived(); } // Function implementations for IfcConnectionPointGeometry ::Ifc4x3_add2::IfcPointOrVertexPoint* Ifc4x3_add2::IfcConnectionPointGeometry::PointOnRelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcPointOrVertexPoint>(true); } @@ -9311,7 +9311,7 @@ void Ifc4x3_add2::IfcConnectionPointGeometry::setPointOnRelatedElement(::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcConnectionPointGeometry::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[208]); } const IfcParse::entity& Ifc4x3_add2::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[208]); } Ifc4x3_add2::IfcConnectionPointGeometry::IfcConnectionPointGeometry(IfcEntityInstanceData&& e) : IfcConnectionGeometry(std::move(e)) { } -Ifc4x3_add2::IfcConnectionPointGeometry::IfcConnectionPointGeometry(::Ifc4x3_add2::IfcPointOrVertexPoint* v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint* v2_PointOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_PointOnRelatingElement ? v1_PointOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_PointOnRelatedElement ? v2_PointOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConnectionPointGeometry::IfcConnectionPointGeometry(::Ifc4x3_add2::IfcPointOrVertexPoint* v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint* v2_PointOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_PointOnRelatingElement ? v1_PointOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_PointOnRelatedElement ? v2_PointOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcConnectionSurfaceGeometry ::Ifc4x3_add2::IfcSurfaceOrFaceSurface* Ifc4x3_add2::IfcConnectionSurfaceGeometry::SurfaceOnRelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSurfaceOrFaceSurface>(true); } @@ -9323,7 +9323,7 @@ void Ifc4x3_add2::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(::Ifc const IfcParse::entity& Ifc4x3_add2::IfcConnectionSurfaceGeometry::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[209]); } const IfcParse::entity& Ifc4x3_add2::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[209]); } Ifc4x3_add2::IfcConnectionSurfaceGeometry::IfcConnectionSurfaceGeometry(IfcEntityInstanceData&& e) : IfcConnectionGeometry(std::move(e)) { } -Ifc4x3_add2::IfcConnectionSurfaceGeometry::IfcConnectionSurfaceGeometry(::Ifc4x3_add2::IfcSurfaceOrFaceSurface* v1_SurfaceOnRelatingElement, ::Ifc4x3_add2::IfcSurfaceOrFaceSurface* v2_SurfaceOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SurfaceOnRelatingElement ? v1_SurfaceOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_SurfaceOnRelatedElement ? v2_SurfaceOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConnectionSurfaceGeometry::IfcConnectionSurfaceGeometry(::Ifc4x3_add2::IfcSurfaceOrFaceSurface* v1_SurfaceOnRelatingElement, ::Ifc4x3_add2::IfcSurfaceOrFaceSurface* v2_SurfaceOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SurfaceOnRelatingElement ? v1_SurfaceOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_SurfaceOnRelatedElement ? v2_SurfaceOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcConnectionVolumeGeometry ::Ifc4x3_add2::IfcSolidOrShell* Ifc4x3_add2::IfcConnectionVolumeGeometry::VolumeOnRelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSolidOrShell>(true); } @@ -9335,7 +9335,7 @@ void Ifc4x3_add2::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcConnectionVolumeGeometry::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[211]); } const IfcParse::entity& Ifc4x3_add2::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[211]); } Ifc4x3_add2::IfcConnectionVolumeGeometry::IfcConnectionVolumeGeometry(IfcEntityInstanceData&& e) : IfcConnectionGeometry(std::move(e)) { } -Ifc4x3_add2::IfcConnectionVolumeGeometry::IfcConnectionVolumeGeometry(::Ifc4x3_add2::IfcSolidOrShell* v1_VolumeOnRelatingElement, ::Ifc4x3_add2::IfcSolidOrShell* v2_VolumeOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_VolumeOnRelatingElement ? v1_VolumeOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_VolumeOnRelatedElement ? v2_VolumeOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConnectionVolumeGeometry::IfcConnectionVolumeGeometry(::Ifc4x3_add2::IfcSolidOrShell* v1_VolumeOnRelatingElement, ::Ifc4x3_add2::IfcSolidOrShell* v2_VolumeOnRelatedElement) : IfcConnectionGeometry(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_VolumeOnRelatingElement ? v1_VolumeOnRelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_VolumeOnRelatedElement ? v2_VolumeOnRelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcConstraint std::string Ifc4x3_add2::IfcConstraint::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -9359,7 +9359,7 @@ void Ifc4x3_add2::IfcConstraint::setUserDefinedGrade(boost::optional< std::strin const IfcParse::entity& Ifc4x3_add2::IfcConstraint::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[212]); } const IfcParse::entity& Ifc4x3_add2::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[212]); } Ifc4x3_add2::IfcConstraint::IfcConstraint(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcConstraint::IfcConstraint(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, boost::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect* v5_CreatingActor, boost::optional< std::string > v6_CreationTime, boost::optional< std::string > v7_UserDefinedGrade) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, v5_CreatingActor ? v5_CreatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +Ifc4x3_add2::IfcConstraint::IfcConstraint(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, boost::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect* v5_CreatingActor, boost::optional< std::string > v6_CreationTime, boost::optional< std::string > v7_UserDefinedGrade) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, v5_CreatingActor ? v5_CreatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }; populate_derived(); } // Function implementations for IfcConstructionEquipmentResource boost::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_add2::IfcConstructionEquipmentResource::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -9369,7 +9369,7 @@ void Ifc4x3_add2::IfcConstructionEquipmentResource::setPredefinedType(boost::opt const IfcParse::entity& Ifc4x3_add2::IfcConstructionEquipmentResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[214]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[214]); } Ifc4x3_add2::IfcConstructionEquipmentResource::IfcConstructionEquipmentResource(IfcEntityInstanceData&& e) : IfcConstructionResource(std::move(e)) { } -Ifc4x3_add2::IfcConstructionEquipmentResource::IfcConstructionEquipmentResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcConstructionEquipmentResource::IfcConstructionEquipmentResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_add2::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::FromString(data_.get_attribute_value(11)); } @@ -9379,7 +9379,7 @@ void Ifc4x3_add2::IfcConstructionEquipmentResourceType::setPredefinedType(::Ifc4 const IfcParse::entity& Ifc4x3_add2::IfcConstructionEquipmentResourceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[215]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[215]); } Ifc4x3_add2::IfcConstructionEquipmentResourceType::IfcConstructionEquipmentResourceType(IfcEntityInstanceData&& e) : IfcConstructionResourceType(std::move(e)) { } -Ifc4x3_add2::IfcConstructionEquipmentResourceType::IfcConstructionEquipmentResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcConstructionEquipmentResourceType::IfcConstructionEquipmentResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcConstructionMaterialResource boost::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_add2::IfcConstructionMaterialResource::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -9389,7 +9389,7 @@ void Ifc4x3_add2::IfcConstructionMaterialResource::setPredefinedType(boost::opti const IfcParse::entity& Ifc4x3_add2::IfcConstructionMaterialResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[217]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[217]); } Ifc4x3_add2::IfcConstructionMaterialResource::IfcConstructionMaterialResource(IfcEntityInstanceData&& e) : IfcConstructionResource(std::move(e)) { } -Ifc4x3_add2::IfcConstructionMaterialResource::IfcConstructionMaterialResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcConstructionMaterialResource::IfcConstructionMaterialResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_add2::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::FromString(data_.get_attribute_value(11)); } @@ -9399,7 +9399,7 @@ void Ifc4x3_add2::IfcConstructionMaterialResourceType::setPredefinedType(::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcConstructionMaterialResourceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[218]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[218]); } Ifc4x3_add2::IfcConstructionMaterialResourceType::IfcConstructionMaterialResourceType(IfcEntityInstanceData&& e) : IfcConstructionResourceType(std::move(e)) { } -Ifc4x3_add2::IfcConstructionMaterialResourceType::IfcConstructionMaterialResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcConstructionMaterialResourceType::IfcConstructionMaterialResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcConstructionProductResource boost::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_add2::IfcConstructionProductResource::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -9409,7 +9409,7 @@ void Ifc4x3_add2::IfcConstructionProductResource::setPredefinedType(boost::optio const IfcParse::entity& Ifc4x3_add2::IfcConstructionProductResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[220]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[220]); } Ifc4x3_add2::IfcConstructionProductResource::IfcConstructionProductResource(IfcEntityInstanceData&& e) : IfcConstructionResource(std::move(e)) { } -Ifc4x3_add2::IfcConstructionProductResource::IfcConstructionProductResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcConstructionProductResource::IfcConstructionProductResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_add2::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::FromString(data_.get_attribute_value(11)); } @@ -9419,7 +9419,7 @@ void Ifc4x3_add2::IfcConstructionProductResourceType::setPredefinedType(::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcConstructionProductResourceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[221]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[221]); } Ifc4x3_add2::IfcConstructionProductResourceType::IfcConstructionProductResourceType(IfcEntityInstanceData&& e) : IfcConstructionResourceType(std::move(e)) { } -Ifc4x3_add2::IfcConstructionProductResourceType::IfcConstructionProductResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcConstructionProductResourceType::IfcConstructionProductResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcConstructionResource ::Ifc4x3_add2::IfcResourceTime* Ifc4x3_add2::IfcConstructionResource::Usage() const { if(data_.get_attribute_value(7).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(7)))->as<::Ifc4x3_add2::IfcResourceTime>(true); } @@ -9433,7 +9433,7 @@ void Ifc4x3_add2::IfcConstructionResource::setBaseQuantity(::Ifc4x3_add2::IfcPhy const IfcParse::entity& Ifc4x3_add2::IfcConstructionResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[223]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[223]); } Ifc4x3_add2::IfcConstructionResource::IfcConstructionResource(IfcEntityInstanceData&& e) : IfcResource(std::move(e)) { } -Ifc4x3_add2::IfcConstructionResource::IfcConstructionResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity) : IfcResource(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConstructionResource::IfcConstructionResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity) : IfcResource(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcConstructionResourceType boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > Ifc4x3_add2::IfcConstructionResourceType::BaseCosts() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(9); return es->as< ::Ifc4x3_add2::IfcAppliedValue >(); } @@ -9445,7 +9445,7 @@ void Ifc4x3_add2::IfcConstructionResourceType::setBaseQuantity(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcConstructionResourceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[224]); } const IfcParse::entity& Ifc4x3_add2::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[224]); } Ifc4x3_add2::IfcConstructionResourceType::IfcConstructionResourceType(IfcEntityInstanceData&& e) : IfcTypeResource(std::move(e)) { } -Ifc4x3_add2::IfcConstructionResourceType::IfcConstructionResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity) : IfcTypeResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConstructionResourceType::IfcConstructionResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity) : IfcTypeResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcContext boost::optional< std::string > Ifc4x3_add2::IfcContext::ObjectType() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(4); return v; } @@ -9465,7 +9465,7 @@ void Ifc4x3_add2::IfcContext::setUnitsInContext(::Ifc4x3_add2::IfcUnitAssignment const IfcParse::entity& Ifc4x3_add2::IfcContext::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[225]); } const IfcParse::entity& Ifc4x3_add2::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[225]); } Ifc4x3_add2::IfcContext::IfcContext(IfcEntityInstanceData&& e) : IfcObjectDefinition(std::move(e)) { } -Ifc4x3_add2::IfcContext::IfcContext(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< std::string > v7_Phase, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationContext >::ptr > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment* v9_UnitsInContext) : IfcObjectDefinition(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, (*v8_RepresentationContexts)->generalize()); }set_attribute_value(8, v9_UnitsInContext ? v9_UnitsInContext->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcContext::IfcContext(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< std::string > v7_Phase, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationContext >::ptr > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment* v9_UnitsInContext) : IfcObjectDefinition(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, (*v8_RepresentationContexts)->generalize()); }set_attribute_value(8, v9_UnitsInContext ? v9_UnitsInContext->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_add2::IfcContextDependentUnit::Name() const { std::string v = data_.get_attribute_value(2); return v; } @@ -9476,7 +9476,7 @@ void Ifc4x3_add2::IfcContextDependentUnit::setName(std::string v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcContextDependentUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[227]); } const IfcParse::entity& Ifc4x3_add2::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[227]); } Ifc4x3_add2::IfcContextDependentUnit::IfcContextDependentUnit(IfcEntityInstanceData&& e) : IfcNamedUnit(std::move(e)) { } -Ifc4x3_add2::IfcContextDependentUnit::IfcContextDependentUnit(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) : IfcNamedUnit(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +Ifc4x3_add2::IfcContextDependentUnit::IfcContextDependentUnit(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) : IfcNamedUnit(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));; populate_derived(); } // Function implementations for IfcControl boost::optional< std::string > Ifc4x3_add2::IfcControl::Identification() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(5); return v; } @@ -9487,7 +9487,7 @@ void Ifc4x3_add2::IfcControl::setIdentification(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcControl::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[228]); } const IfcParse::entity& Ifc4x3_add2::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[228]); } Ifc4x3_add2::IfcControl::IfcControl(IfcEntityInstanceData&& e) : IfcObject(std::move(e)) { } -Ifc4x3_add2::IfcControl::IfcControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification) : IfcObject(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } } +Ifc4x3_add2::IfcControl::IfcControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification) : IfcObject(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }; populate_derived(); } // Function implementations for IfcController boost::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > Ifc4x3_add2::IfcController::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcControllerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9497,7 +9497,7 @@ void Ifc4x3_add2::IfcController::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcController::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[229]); } const IfcParse::entity& Ifc4x3_add2::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[229]); } Ifc4x3_add2::IfcController::IfcController(IfcEntityInstanceData&& e) : IfcDistributionControlElement(std::move(e)) { } -Ifc4x3_add2::IfcController::IfcController(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcController::IfcController(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcControllerType ::Ifc4x3_add2::IfcControllerTypeEnum::Value Ifc4x3_add2::IfcControllerType::PredefinedType() const { return ::Ifc4x3_add2::IfcControllerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9507,7 +9507,7 @@ void Ifc4x3_add2::IfcControllerType::setPredefinedType(::Ifc4x3_add2::IfcControl const IfcParse::entity& Ifc4x3_add2::IfcControllerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[230]); } const IfcParse::entity& Ifc4x3_add2::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[230]); } Ifc4x3_add2::IfcControllerType::IfcControllerType(IfcEntityInstanceData&& e) : IfcDistributionControlElementType(std::move(e)) { } -Ifc4x3_add2::IfcControllerType::IfcControllerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcControllerTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcControllerType::IfcControllerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcControllerTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_add2::IfcConversionBasedUnit::Name() const { std::string v = data_.get_attribute_value(2); return v; } @@ -9520,7 +9520,7 @@ void Ifc4x3_add2::IfcConversionBasedUnit::setConversionFactor(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcConversionBasedUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[232]); } const IfcParse::entity& Ifc4x3_add2::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[232]); } Ifc4x3_add2::IfcConversionBasedUnit::IfcConversionBasedUnit(IfcEntityInstanceData&& e) : IfcNamedUnit(std::move(e)) { } -Ifc4x3_add2::IfcConversionBasedUnit::IfcConversionBasedUnit(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_ConversionFactor) : IfcNamedUnit(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, v4_ConversionFactor ? v4_ConversionFactor->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcConversionBasedUnit::IfcConversionBasedUnit(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_ConversionFactor) : IfcNamedUnit(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, v4_ConversionFactor ? v4_ConversionFactor->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_add2::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = data_.get_attribute_value(4); return v; } @@ -9530,7 +9530,7 @@ void Ifc4x3_add2::IfcConversionBasedUnitWithOffset::setConversionOffset(double v const IfcParse::entity& Ifc4x3_add2::IfcConversionBasedUnitWithOffset::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[233]); } const IfcParse::entity& Ifc4x3_add2::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[233]); } Ifc4x3_add2::IfcConversionBasedUnitWithOffset::IfcConversionBasedUnitWithOffset(IfcEntityInstanceData&& e) : IfcConversionBasedUnit(std::move(e)) { } -Ifc4x3_add2::IfcConversionBasedUnitWithOffset::IfcConversionBasedUnitWithOffset(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_ConversionFactor, double v5_ConversionOffset) : IfcConversionBasedUnit(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, v4_ConversionFactor ? v4_ConversionFactor->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_ConversionOffset)); } +Ifc4x3_add2::IfcConversionBasedUnitWithOffset::IfcConversionBasedUnitWithOffset(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_ConversionFactor, double v5_ConversionOffset) : IfcConversionBasedUnit(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, v4_ConversionFactor ? v4_ConversionFactor->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_ConversionOffset));; populate_derived(); } // Function implementations for IfcConveyorSegment boost::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_add2::IfcConveyorSegment::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9540,7 +9540,7 @@ void Ifc4x3_add2::IfcConveyorSegment::setPredefinedType(boost::optional< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcConveyorSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[234]); } const IfcParse::entity& Ifc4x3_add2::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[234]); } Ifc4x3_add2::IfcConveyorSegment::IfcConveyorSegment(IfcEntityInstanceData&& e) : IfcFlowSegment(std::move(e)) { } -Ifc4x3_add2::IfcConveyorSegment::IfcConveyorSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcConveyorSegment::IfcConveyorSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value Ifc4x3_add2::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9550,7 +9550,7 @@ void Ifc4x3_add2::IfcConveyorSegmentType::setPredefinedType(::Ifc4x3_add2::IfcCo const IfcParse::entity& Ifc4x3_add2::IfcConveyorSegmentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[235]); } const IfcParse::entity& Ifc4x3_add2::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[235]); } Ifc4x3_add2::IfcConveyorSegmentType::IfcConveyorSegmentType(IfcEntityInstanceData&& e) : IfcFlowSegmentType(std::move(e)) { } -Ifc4x3_add2::IfcConveyorSegmentType::IfcConveyorSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcConveyorSegmentType::IfcConveyorSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCooledBeam boost::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > Ifc4x3_add2::IfcCooledBeam::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCooledBeamTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9560,7 +9560,7 @@ void Ifc4x3_add2::IfcCooledBeam::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcCooledBeam::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[237]); } const IfcParse::entity& Ifc4x3_add2::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[237]); } Ifc4x3_add2::IfcCooledBeam::IfcCooledBeam(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcCooledBeam::IfcCooledBeam(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCooledBeam::IfcCooledBeam(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCooledBeamType ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value Ifc4x3_add2::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_add2::IfcCooledBeamTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9570,7 +9570,7 @@ void Ifc4x3_add2::IfcCooledBeamType::setPredefinedType(::Ifc4x3_add2::IfcCooledB const IfcParse::entity& Ifc4x3_add2::IfcCooledBeamType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[238]); } const IfcParse::entity& Ifc4x3_add2::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[238]); } Ifc4x3_add2::IfcCooledBeamType::IfcCooledBeamType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcCooledBeamType::IfcCooledBeamType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCooledBeamType::IfcCooledBeamType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCoolingTower boost::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > Ifc4x3_add2::IfcCoolingTower::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9580,7 +9580,7 @@ void Ifc4x3_add2::IfcCoolingTower::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcCoolingTower::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[240]); } const IfcParse::entity& Ifc4x3_add2::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[240]); } Ifc4x3_add2::IfcCoolingTower::IfcCoolingTower(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcCoolingTower::IfcCoolingTower(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCoolingTower::IfcCoolingTower(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCoolingTowerType ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value Ifc4x3_add2::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9590,7 +9590,7 @@ void Ifc4x3_add2::IfcCoolingTowerType::setPredefinedType(::Ifc4x3_add2::IfcCooli const IfcParse::entity& Ifc4x3_add2::IfcCoolingTowerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[241]); } const IfcParse::entity& Ifc4x3_add2::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[241]); } Ifc4x3_add2::IfcCoolingTowerType::IfcCoolingTowerType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcCoolingTowerType::IfcCoolingTowerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCoolingTowerType::IfcCoolingTowerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* Ifc4x3_add2::IfcCoordinateOperation::SourceCRS() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect>(true); } @@ -9602,7 +9602,7 @@ void Ifc4x3_add2::IfcCoordinateOperation::setTargetCRS(::Ifc4x3_add2::IfcCoordin const IfcParse::entity& Ifc4x3_add2::IfcCoordinateOperation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[243]); } const IfcParse::entity& Ifc4x3_add2::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[243]); } Ifc4x3_add2::IfcCoordinateOperation::IfcCoordinateOperation(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcCoordinateOperation::IfcCoordinateOperation(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcCoordinateOperation::IfcCoordinateOperation(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcCoordinateReferenceSystem boost::optional< std::string > Ifc4x3_add2::IfcCoordinateReferenceSystem::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -9618,7 +9618,7 @@ void Ifc4x3_add2::IfcCoordinateReferenceSystem::setGeodeticDatum(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcCoordinateReferenceSystem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[244]); } const IfcParse::entity& Ifc4x3_add2::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[244]); } Ifc4x3_add2::IfcCoordinateReferenceSystem::IfcCoordinateReferenceSystem(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcCoordinateReferenceSystem::IfcCoordinateReferenceSystem(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_GeodeticDatum) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); } } +Ifc4x3_add2::IfcCoordinateReferenceSystem::IfcCoordinateReferenceSystem(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_GeodeticDatum) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); }; populate_derived(); } // Function implementations for IfcCosineSpiral double Ifc4x3_add2::IfcCosineSpiral::CosineTerm() const { double v = data_.get_attribute_value(1); return v; } @@ -9630,7 +9630,7 @@ void Ifc4x3_add2::IfcCosineSpiral::setConstantTerm(boost::optional< double > v) const IfcParse::entity& Ifc4x3_add2::IfcCosineSpiral::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[246]); } const IfcParse::entity& Ifc4x3_add2::IfcCosineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[246]); } Ifc4x3_add2::IfcCosineSpiral::IfcCosineSpiral(IfcEntityInstanceData&& e) : IfcSpiral(std::move(e)) { } -Ifc4x3_add2::IfcCosineSpiral::IfcCosineSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_CosineTerm, boost::optional< double > v3_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); } } +Ifc4x3_add2::IfcCosineSpiral::IfcCosineSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_CosineTerm, boost::optional< double > v3_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); }; populate_derived(); } // Function implementations for IfcCostItem boost::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value > Ifc4x3_add2::IfcCostItem::PredefinedType() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCostItemTypeEnum::FromString(data_.get_attribute_value(6)); } @@ -9644,7 +9644,7 @@ void Ifc4x3_add2::IfcCostItem::setCostQuantities(boost::optional< aggregate_of< const IfcParse::entity& Ifc4x3_add2::IfcCostItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[247]); } const IfcParse::entity& Ifc4x3_add2::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[247]); } Ifc4x3_add2::IfcCostItem::IfcCostItem(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcCostItem::IfcCostItem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value > v7_PredefinedType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcCostValue >::ptr > v8_CostValues, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPhysicalQuantity >::ptr > v9_CostQuantities) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, (*v8_CostValues)->generalize()); } if (v9_CostQuantities) {set_attribute_value(8, (*v9_CostQuantities)->generalize()); } } +Ifc4x3_add2::IfcCostItem::IfcCostItem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value > v7_PredefinedType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcCostValue >::ptr > v8_CostValues, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPhysicalQuantity >::ptr > v9_CostQuantities) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, (*v8_CostValues)->generalize()); } if (v9_CostQuantities) {set_attribute_value(8, (*v9_CostQuantities)->generalize()); }; populate_derived(); } // Function implementations for IfcCostSchedule boost::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value > Ifc4x3_add2::IfcCostSchedule::PredefinedType() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCostScheduleTypeEnum::FromString(data_.get_attribute_value(6)); } @@ -9660,7 +9660,7 @@ void Ifc4x3_add2::IfcCostSchedule::setUpdateDate(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcCostSchedule::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[249]); } const IfcParse::entity& Ifc4x3_add2::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[249]); } Ifc4x3_add2::IfcCostSchedule::IfcCostSchedule(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcCostSchedule::IfcCostSchedule(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_SubmittedOn, boost::optional< std::string > v10_UpdateDate) : IfcControl(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcCostScheduleTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_SubmittedOn) {set_attribute_value(8, (*v9_SubmittedOn)); } if (v10_UpdateDate) {set_attribute_value(9, (*v10_UpdateDate)); } } +Ifc4x3_add2::IfcCostSchedule::IfcCostSchedule(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_SubmittedOn, boost::optional< std::string > v10_UpdateDate) : IfcControl(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcCostScheduleTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_SubmittedOn) {set_attribute_value(8, (*v9_SubmittedOn)); } if (v10_UpdateDate) {set_attribute_value(9, (*v10_UpdateDate)); }; populate_derived(); } // Function implementations for IfcCostValue @@ -9668,7 +9668,7 @@ Ifc4x3_add2::IfcCostSchedule::IfcCostSchedule(std::string v1_GlobalId, ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcCostValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[251]); } const IfcParse::entity& Ifc4x3_add2::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[251]); } Ifc4x3_add2::IfcCostValue::IfcCostValue(IfcEntityInstanceData&& e) : IfcAppliedValue(std::move(e)) { } -Ifc4x3_add2::IfcCostValue::IfcCostValue(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect* v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_UnitBasis, boost::optional< std::string > v5_ApplicableDate, boost::optional< std::string > v6_FixedUntilDate, boost::optional< std::string > v7_Category, boost::optional< std::string > v8_Condition, boost::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_Components) : IfcAppliedValue(IfcEntityInstanceData(storage_t(10))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_AppliedValue ? v3_AppliedValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_UnitBasis ? v4_UnitBasis->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ApplicableDate) {set_attribute_value(4, (*v5_ApplicableDate)); } if (v6_FixedUntilDate) {set_attribute_value(5, (*v6_FixedUntilDate)); } if (v7_Category) {set_attribute_value(6, (*v7_Category)); } if (v8_Condition) {set_attribute_value(7, (*v8_Condition)); } if (v9_ArithmeticOperator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, (*v10_Components)->generalize()); } } +Ifc4x3_add2::IfcCostValue::IfcCostValue(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect* v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit* v4_UnitBasis, boost::optional< std::string > v5_ApplicableDate, boost::optional< std::string > v6_FixedUntilDate, boost::optional< std::string > v7_Category, boost::optional< std::string > v8_Condition, boost::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_Components) : IfcAppliedValue(IfcEntityInstanceData(storage_t(10))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_AppliedValue ? v3_AppliedValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_UnitBasis ? v4_UnitBasis->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ApplicableDate) {set_attribute_value(4, (*v5_ApplicableDate)); } if (v6_FixedUntilDate) {set_attribute_value(5, (*v6_FixedUntilDate)); } if (v7_Category) {set_attribute_value(6, (*v7_Category)); } if (v8_Condition) {set_attribute_value(7, (*v8_Condition)); } if (v9_ArithmeticOperator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, (*v10_Components)->generalize()); }; populate_derived(); } // Function implementations for IfcCourse boost::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > Ifc4x3_add2::IfcCourse::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCourseTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9678,7 +9678,7 @@ void Ifc4x3_add2::IfcCourse::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcCourse::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[253]); } const IfcParse::entity& Ifc4x3_add2::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[253]); } Ifc4x3_add2::IfcCourse::IfcCourse(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcCourse::IfcCourse(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCourse::IfcCourse(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCourseType ::Ifc4x3_add2::IfcCourseTypeEnum::Value Ifc4x3_add2::IfcCourseType::PredefinedType() const { return ::Ifc4x3_add2::IfcCourseTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9688,7 +9688,7 @@ void Ifc4x3_add2::IfcCourseType::setPredefinedType(::Ifc4x3_add2::IfcCourseTypeE const IfcParse::entity& Ifc4x3_add2::IfcCourseType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[254]); } const IfcParse::entity& Ifc4x3_add2::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[254]); } Ifc4x3_add2::IfcCourseType::IfcCourseType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcCourseType::IfcCourseType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCourseTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCourseType::IfcCourseType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCourseTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCovering boost::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > Ifc4x3_add2::IfcCovering::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCoveringTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9700,7 +9700,7 @@ void Ifc4x3_add2::IfcCovering::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcCovering::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[256]); } const IfcParse::entity& Ifc4x3_add2::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[256]); } Ifc4x3_add2::IfcCovering::IfcCovering(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcCovering::IfcCovering(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCovering::IfcCovering(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCoveringType ::Ifc4x3_add2::IfcCoveringTypeEnum::Value Ifc4x3_add2::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_add2::IfcCoveringTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9710,7 +9710,7 @@ void Ifc4x3_add2::IfcCoveringType::setPredefinedType(::Ifc4x3_add2::IfcCoveringT const IfcParse::entity& Ifc4x3_add2::IfcCoveringType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[257]); } const IfcParse::entity& Ifc4x3_add2::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[257]); } Ifc4x3_add2::IfcCoveringType::IfcCoveringType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcCoveringType::IfcCoveringType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoveringTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCoveringType::IfcCoveringType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoveringTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCrewResource boost::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > Ifc4x3_add2::IfcCrewResource::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCrewResourceTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -9720,7 +9720,7 @@ void Ifc4x3_add2::IfcCrewResource::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcCrewResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[259]); } const IfcParse::entity& Ifc4x3_add2::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[259]); } Ifc4x3_add2::IfcCrewResource::IfcCrewResource(IfcEntityInstanceData&& e) : IfcConstructionResource(std::move(e)) { } -Ifc4x3_add2::IfcCrewResource::IfcCrewResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcCrewResource::IfcCrewResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCrewResourceType ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value Ifc4x3_add2::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcCrewResourceTypeEnum::FromString(data_.get_attribute_value(11)); } @@ -9730,7 +9730,7 @@ void Ifc4x3_add2::IfcCrewResourceType::setPredefinedType(::Ifc4x3_add2::IfcCrewR const IfcParse::entity& Ifc4x3_add2::IfcCrewResourceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[260]); } const IfcParse::entity& Ifc4x3_add2::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[260]); } Ifc4x3_add2::IfcCrewResourceType::IfcCrewResourceType(IfcEntityInstanceData&& e) : IfcConstructionResourceType(std::move(e)) { } -Ifc4x3_add2::IfcCrewResourceType::IfcCrewResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcCrewResourceType::IfcCrewResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_add2::IfcAxis2Placement3D* Ifc4x3_add2::IfcCsgPrimitive3D::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcAxis2Placement3D>(true); } @@ -9740,7 +9740,7 @@ void Ifc4x3_add2::IfcCsgPrimitive3D::setPosition(::Ifc4x3_add2::IfcAxis2Placemen const IfcParse::entity& Ifc4x3_add2::IfcCsgPrimitive3D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[262]); } const IfcParse::entity& Ifc4x3_add2::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[262]); } Ifc4x3_add2::IfcCsgPrimitive3D::IfcCsgPrimitive3D(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcCsgPrimitive3D::IfcCsgPrimitive3D(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcCsgPrimitive3D::IfcCsgPrimitive3D(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcCsgSolid ::Ifc4x3_add2::IfcCsgSelect* Ifc4x3_add2::IfcCsgSolid::TreeRootExpression() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCsgSelect>(true); } @@ -9750,7 +9750,7 @@ void Ifc4x3_add2::IfcCsgSolid::setTreeRootExpression(::Ifc4x3_add2::IfcCsgSelect const IfcParse::entity& Ifc4x3_add2::IfcCsgSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[264]); } const IfcParse::entity& Ifc4x3_add2::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[264]); } Ifc4x3_add2::IfcCsgSolid::IfcCsgSolid(IfcEntityInstanceData&& e) : IfcSolidModel(std::move(e)) { } -Ifc4x3_add2::IfcCsgSolid::IfcCsgSolid(::Ifc4x3_add2::IfcCsgSelect* v1_TreeRootExpression) : IfcSolidModel(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_TreeRootExpression ? v1_TreeRootExpression->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcCsgSolid::IfcCsgSolid(::Ifc4x3_add2::IfcCsgSelect* v1_TreeRootExpression) : IfcSolidModel(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_TreeRootExpression ? v1_TreeRootExpression->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcCurrencyRelationship ::Ifc4x3_add2::IfcMonetaryUnit* Ifc4x3_add2::IfcCurrencyRelationship::RelatingMonetaryUnit() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcMonetaryUnit>(true); } @@ -9768,7 +9768,7 @@ void Ifc4x3_add2::IfcCurrencyRelationship::setRateSource(::Ifc4x3_add2::IfcLibra const IfcParse::entity& Ifc4x3_add2::IfcCurrencyRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[266]); } const IfcParse::entity& Ifc4x3_add2::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[266]); } Ifc4x3_add2::IfcCurrencyRelationship::IfcCurrencyRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcCurrencyRelationship::IfcCurrencyRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMonetaryUnit* v3_RelatingMonetaryUnit, ::Ifc4x3_add2::IfcMonetaryUnit* v4_RelatedMonetaryUnit, double v5_ExchangeRate, boost::optional< std::string > v6_RateDateTime, ::Ifc4x3_add2::IfcLibraryInformation* v7_RateSource) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingMonetaryUnit ? v3_RelatingMonetaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_RelatedMonetaryUnit ? v4_RelatedMonetaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, v7_RateSource ? v7_RateSource->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcCurrencyRelationship::IfcCurrencyRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMonetaryUnit* v3_RelatingMonetaryUnit, ::Ifc4x3_add2::IfcMonetaryUnit* v4_RelatedMonetaryUnit, double v5_ExchangeRate, boost::optional< std::string > v6_RateDateTime, ::Ifc4x3_add2::IfcLibraryInformation* v7_RateSource) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingMonetaryUnit ? v3_RelatingMonetaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_RelatedMonetaryUnit ? v4_RelatedMonetaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, v7_RateSource ? v7_RateSource->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcCurtainWall boost::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > Ifc4x3_add2::IfcCurtainWall::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcCurtainWallTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9778,7 +9778,7 @@ void Ifc4x3_add2::IfcCurtainWall::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcCurtainWall::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[267]); } const IfcParse::entity& Ifc4x3_add2::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[267]); } Ifc4x3_add2::IfcCurtainWall::IfcCurtainWall(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcCurtainWall::IfcCurtainWall(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcCurtainWall::IfcCurtainWall(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcCurtainWallType ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value Ifc4x3_add2::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_add2::IfcCurtainWallTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9788,7 +9788,7 @@ void Ifc4x3_add2::IfcCurtainWallType::setPredefinedType(::Ifc4x3_add2::IfcCurtai const IfcParse::entity& Ifc4x3_add2::IfcCurtainWallType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[268]); } const IfcParse::entity& Ifc4x3_add2::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[268]); } Ifc4x3_add2::IfcCurtainWallType::IfcCurtainWallType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcCurtainWallType::IfcCurtainWallType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcCurtainWallType::IfcCurtainWallType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcCurve @@ -9796,7 +9796,7 @@ Ifc4x3_add2::IfcCurtainWallType::IfcCurtainWallType(std::string v1_GlobalId, ::I const IfcParse::entity& Ifc4x3_add2::IfcCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[271]); } const IfcParse::entity& Ifc4x3_add2::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[271]); } Ifc4x3_add2::IfcCurve::IfcCurve(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcCurve::IfcCurve() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcCurve::IfcCurve() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcCurveBoundedPlane ::Ifc4x3_add2::IfcPlane* Ifc4x3_add2::IfcCurveBoundedPlane::BasisSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcPlane>(true); } @@ -9810,7 +9810,7 @@ void Ifc4x3_add2::IfcCurveBoundedPlane::setInnerBoundaries(aggregate_of< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcCurveBoundedPlane::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[272]); } const IfcParse::entity& Ifc4x3_add2::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[272]); } Ifc4x3_add2::IfcCurveBoundedPlane::IfcCurveBoundedPlane(IfcEntityInstanceData&& e) : IfcBoundedSurface(std::move(e)) { } -Ifc4x3_add2::IfcCurveBoundedPlane::IfcCurveBoundedPlane(::Ifc4x3_add2::IfcPlane* v1_BasisSurface, ::Ifc4x3_add2::IfcCurve* v2_OuterBoundary, aggregate_of< ::Ifc4x3_add2::IfcCurve >::ptr v3_InnerBoundaries) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_OuterBoundary ? v2_OuterBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_InnerBoundaries)->generalize()); } +Ifc4x3_add2::IfcCurveBoundedPlane::IfcCurveBoundedPlane(::Ifc4x3_add2::IfcPlane* v1_BasisSurface, ::Ifc4x3_add2::IfcCurve* v2_OuterBoundary, aggregate_of< ::Ifc4x3_add2::IfcCurve >::ptr v3_InnerBoundaries) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_OuterBoundary ? v2_OuterBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_InnerBoundaries)->generalize());; populate_derived(); } // Function implementations for IfcCurveBoundedSurface ::Ifc4x3_add2::IfcSurface* Ifc4x3_add2::IfcCurveBoundedSurface::BasisSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSurface>(true); } @@ -9824,7 +9824,7 @@ void Ifc4x3_add2::IfcCurveBoundedSurface::setImplicitOuter(bool v) { set_attribu const IfcParse::entity& Ifc4x3_add2::IfcCurveBoundedSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[273]); } const IfcParse::entity& Ifc4x3_add2::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[273]); } Ifc4x3_add2::IfcCurveBoundedSurface::IfcCurveBoundedSurface(IfcEntityInstanceData&& e) : IfcBoundedSurface(std::move(e)) { } -Ifc4x3_add2::IfcCurveBoundedSurface::IfcCurveBoundedSurface(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, aggregate_of< ::Ifc4x3_add2::IfcBoundaryCurve >::ptr v2_Boundaries, bool v3_ImplicitOuter) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Boundaries)->generalize());set_attribute_value(2, (v3_ImplicitOuter)); } +Ifc4x3_add2::IfcCurveBoundedSurface::IfcCurveBoundedSurface(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, aggregate_of< ::Ifc4x3_add2::IfcBoundaryCurve >::ptr v2_Boundaries, bool v3_ImplicitOuter) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Boundaries)->generalize());set_attribute_value(2, (v3_ImplicitOuter));; populate_derived(); } // Function implementations for IfcCurveSegment ::Ifc4x3_add2::IfcPlacement* Ifc4x3_add2::IfcCurveSegment::Placement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcPlacement>(true); } @@ -9840,7 +9840,7 @@ void Ifc4x3_add2::IfcCurveSegment::setParentCurve(::Ifc4x3_add2::IfcCurve* v) { const IfcParse::entity& Ifc4x3_add2::IfcCurveSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[279]); } const IfcParse::entity& Ifc4x3_add2::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[279]); } Ifc4x3_add2::IfcCurveSegment::IfcCurveSegment(IfcEntityInstanceData&& e) : IfcSegment(std::move(e)) { } -Ifc4x3_add2::IfcCurveSegment::IfcCurveSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_add2::IfcPlacement* v2_Placement, ::Ifc4x3_add2::IfcCurveMeasureSelect* v3_SegmentStart, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_SegmentLength, ::Ifc4x3_add2::IfcCurve* v5_ParentCurve) : IfcSegment(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, v2_Placement ? v2_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_SegmentStart ? v3_SegmentStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_SegmentLength ? v4_SegmentLength->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_ParentCurve ? v5_ParentCurve->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcCurveSegment::IfcCurveSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_add2::IfcPlacement* v2_Placement, ::Ifc4x3_add2::IfcCurveMeasureSelect* v3_SegmentStart, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_SegmentLength, ::Ifc4x3_add2::IfcCurve* v5_ParentCurve) : IfcSegment(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, v2_Placement ? v2_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_SegmentStart ? v3_SegmentStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_SegmentLength ? v4_SegmentLength->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_ParentCurve ? v5_ParentCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcCurveStyle ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect* Ifc4x3_add2::IfcCurveStyle::CurveFont() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect>(true); } @@ -9856,7 +9856,7 @@ void Ifc4x3_add2::IfcCurveStyle::setModelOrDraughting(boost::optional< bool > v) const IfcParse::entity& Ifc4x3_add2::IfcCurveStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[280]); } const IfcParse::entity& Ifc4x3_add2::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[280]); } Ifc4x3_add2::IfcCurveStyle::IfcCurveStyle(IfcEntityInstanceData&& e) : IfcPresentationStyle(std::move(e)) { } -Ifc4x3_add2::IfcCurveStyle::IfcCurveStyle(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect* v2_CurveFont, ::Ifc4x3_add2::IfcSizeSelect* v3_CurveWidth, ::Ifc4x3_add2::IfcColour* v4_CurveColour, boost::optional< bool > v5_ModelOrDraughting) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_CurveFont ? v2_CurveFont->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_CurveWidth ? v3_CurveWidth->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_CurveColour ? v4_CurveColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } +Ifc4x3_add2::IfcCurveStyle::IfcCurveStyle(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect* v2_CurveFont, ::Ifc4x3_add2::IfcSizeSelect* v3_CurveWidth, ::Ifc4x3_add2::IfcColour* v4_CurveColour, boost::optional< bool > v5_ModelOrDraughting) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_CurveFont ? v2_CurveFont->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_CurveWidth ? v3_CurveWidth->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_CurveColour ? v4_CurveColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); }; populate_derived(); } // Function implementations for IfcCurveStyleFont boost::optional< std::string > Ifc4x3_add2::IfcCurveStyleFont::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -9868,7 +9868,7 @@ void Ifc4x3_add2::IfcCurveStyleFont::setPatternList(aggregate_of< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFont::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[281]); } const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[281]); } Ifc4x3_add2::IfcCurveStyleFont::IfcCurveStyleFont(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcCurveStyleFont::IfcCurveStyleFont(boost::optional< std::string > v1_Name, aggregate_of< ::Ifc4x3_add2::IfcCurveStyleFontPattern >::ptr v2_PatternList) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_PatternList)->generalize()); } +Ifc4x3_add2::IfcCurveStyleFont::IfcCurveStyleFont(boost::optional< std::string > v1_Name, aggregate_of< ::Ifc4x3_add2::IfcCurveStyleFontPattern >::ptr v2_PatternList) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_PatternList)->generalize());; populate_derived(); } // Function implementations for IfcCurveStyleFontAndScaling boost::optional< std::string > Ifc4x3_add2::IfcCurveStyleFontAndScaling::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -9882,7 +9882,7 @@ void Ifc4x3_add2::IfcCurveStyleFontAndScaling::setCurveFontScaling(double v) { s const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFontAndScaling::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[282]); } const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[282]); } Ifc4x3_add2::IfcCurveStyleFontAndScaling::IfcCurveStyleFontAndScaling(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcCurveStyleFontAndScaling::IfcCurveStyleFontAndScaling(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveStyleFontSelect* v2_CurveStyleFont, double v3_CurveFontScaling) : IfcPresentationItem(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_CurveStyleFont ? v2_CurveStyleFont->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_CurveFontScaling)); } +Ifc4x3_add2::IfcCurveStyleFontAndScaling::IfcCurveStyleFontAndScaling(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveStyleFontSelect* v2_CurveStyleFont, double v3_CurveFontScaling) : IfcPresentationItem(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_CurveStyleFont ? v2_CurveStyleFont->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_CurveFontScaling));; populate_derived(); } // Function implementations for IfcCurveStyleFontPattern double Ifc4x3_add2::IfcCurveStyleFontPattern::VisibleSegmentLength() const { double v = data_.get_attribute_value(0); return v; } @@ -9894,7 +9894,7 @@ void Ifc4x3_add2::IfcCurveStyleFontPattern::setInvisibleSegmentLength(double v) const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFontPattern::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[283]); } const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[283]); } Ifc4x3_add2::IfcCurveStyleFontPattern::IfcCurveStyleFontPattern(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcCurveStyleFontPattern::IfcCurveStyleFontPattern(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } +Ifc4x3_add2::IfcCurveStyleFontPattern::IfcCurveStyleFontPattern(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength));; populate_derived(); } // Function implementations for IfcCylindricalSurface double Ifc4x3_add2::IfcCylindricalSurface::Radius() const { double v = data_.get_attribute_value(1); return v; } @@ -9904,7 +9904,7 @@ void Ifc4x3_add2::IfcCylindricalSurface::setRadius(double v) { set_attribute_val const IfcParse::entity& Ifc4x3_add2::IfcCylindricalSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[285]); } const IfcParse::entity& Ifc4x3_add2::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[285]); } Ifc4x3_add2::IfcCylindricalSurface::IfcCylindricalSurface(IfcEntityInstanceData&& e) : IfcElementarySurface(std::move(e)) { } -Ifc4x3_add2::IfcCylindricalSurface::IfcCylindricalSurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Radius) : IfcElementarySurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); } +Ifc4x3_add2::IfcCylindricalSurface::IfcCylindricalSurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Radius) : IfcElementarySurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius));; populate_derived(); } // Function implementations for IfcDamper boost::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > Ifc4x3_add2::IfcDamper::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcDamperTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -9914,7 +9914,7 @@ void Ifc4x3_add2::IfcDamper::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcDamper::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[286]); } const IfcParse::entity& Ifc4x3_add2::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[286]); } Ifc4x3_add2::IfcDamper::IfcDamper(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcDamper::IfcDamper(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcDamper::IfcDamper(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDamperType ::Ifc4x3_add2::IfcDamperTypeEnum::Value Ifc4x3_add2::IfcDamperType::PredefinedType() const { return ::Ifc4x3_add2::IfcDamperTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -9924,7 +9924,7 @@ void Ifc4x3_add2::IfcDamperType::setPredefinedType(::Ifc4x3_add2::IfcDamperTypeE const IfcParse::entity& Ifc4x3_add2::IfcDamperType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[287]); } const IfcParse::entity& Ifc4x3_add2::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[287]); } Ifc4x3_add2::IfcDamperType::IfcDamperType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcDamperType::IfcDamperType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDamperTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcDamperType::IfcDamperType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDamperTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcDeepFoundation @@ -9932,7 +9932,7 @@ Ifc4x3_add2::IfcDamperType::IfcDamperType(std::string v1_GlobalId, ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcDeepFoundation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[294]); } const IfcParse::entity& Ifc4x3_add2::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[294]); } Ifc4x3_add2::IfcDeepFoundation::IfcDeepFoundation(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcDeepFoundation::IfcDeepFoundation(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcBuiltElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcDeepFoundation::IfcDeepFoundation(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcBuiltElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcDeepFoundationType @@ -9940,7 +9940,7 @@ Ifc4x3_add2::IfcDeepFoundation::IfcDeepFoundation(std::string v1_GlobalId, ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcDeepFoundationType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[295]); } const IfcParse::entity& Ifc4x3_add2::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[295]); } Ifc4x3_add2::IfcDeepFoundationType::IfcDeepFoundationType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcDeepFoundationType::IfcDeepFoundationType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcDeepFoundationType::IfcDeepFoundationType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcDerivedProfileDef ::Ifc4x3_add2::IfcProfileDef* Ifc4x3_add2::IfcDerivedProfileDef::ParentProfile() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcProfileDef>(true); } @@ -9954,7 +9954,7 @@ void Ifc4x3_add2::IfcDerivedProfileDef::setLabel(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcDerivedProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[298]); } const IfcParse::entity& Ifc4x3_add2::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[298]); } Ifc4x3_add2::IfcDerivedProfileDef::IfcDerivedProfileDef(IfcEntityInstanceData&& e) : IfcProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcDerivedProfileDef::IfcDerivedProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef* v3_ParentProfile, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_Operator, boost::optional< std::string > v5_Label) : IfcProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_ParentProfile ? v3_ParentProfile->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Operator ? v4_Operator->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +Ifc4x3_add2::IfcDerivedProfileDef::IfcDerivedProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef* v3_ParentProfile, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_Operator, boost::optional< std::string > v5_Label) : IfcProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_ParentProfile ? v3_ParentProfile->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Operator ? v4_Operator->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Label) {set_attribute_value(4, (*v5_Label)); }; populate_derived(); } // Function implementations for IfcDerivedUnit aggregate_of< ::Ifc4x3_add2::IfcDerivedUnitElement >::ptr Ifc4x3_add2::IfcDerivedUnit::Elements() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcDerivedUnitElement >(); } @@ -9970,7 +9970,7 @@ void Ifc4x3_add2::IfcDerivedUnit::setName(boost::optional< std::string > v) { if const IfcParse::entity& Ifc4x3_add2::IfcDerivedUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[299]); } const IfcParse::entity& Ifc4x3_add2::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[299]); } Ifc4x3_add2::IfcDerivedUnit::IfcDerivedUnit(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcDerivedUnit::IfcDerivedUnit(aggregate_of< ::Ifc4x3_add2::IfcDerivedUnitElement >::ptr v1_Elements, ::Ifc4x3_add2::IfcDerivedUnitEnum::Value v2_UnitType, boost::optional< std::string > v3_UserDefinedType, boost::optional< std::string > v4_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Elements)->generalize());set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } } +Ifc4x3_add2::IfcDerivedUnit::IfcDerivedUnit(aggregate_of< ::Ifc4x3_add2::IfcDerivedUnitElement >::ptr v1_Elements, ::Ifc4x3_add2::IfcDerivedUnitEnum::Value v2_UnitType, boost::optional< std::string > v3_UserDefinedType, boost::optional< std::string > v4_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Elements)->generalize());set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); }; populate_derived(); } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_add2::IfcNamedUnit* Ifc4x3_add2::IfcDerivedUnitElement::Unit() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcNamedUnit>(true); } @@ -9982,7 +9982,7 @@ void Ifc4x3_add2::IfcDerivedUnitElement::setExponent(int v) { set_attribute_valu const IfcParse::entity& Ifc4x3_add2::IfcDerivedUnitElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[300]); } const IfcParse::entity& Ifc4x3_add2::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[300]); } Ifc4x3_add2::IfcDerivedUnitElement::IfcDerivedUnitElement(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcDerivedUnitElement::IfcDerivedUnitElement(::Ifc4x3_add2::IfcNamedUnit* v1_Unit, int v2_Exponent) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Unit ? v1_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Exponent)); } +Ifc4x3_add2::IfcDerivedUnitElement::IfcDerivedUnitElement(::Ifc4x3_add2::IfcNamedUnit* v1_Unit, int v2_Exponent) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Unit ? v1_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Exponent));; populate_derived(); } // Function implementations for IfcDimensionalExponents int Ifc4x3_add2::IfcDimensionalExponents::LengthExponent() const { int v = data_.get_attribute_value(0); return v; } @@ -10004,7 +10004,7 @@ void Ifc4x3_add2::IfcDimensionalExponents::setLuminousIntensityExponent(int v) { const IfcParse::entity& Ifc4x3_add2::IfcDimensionalExponents::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[303]); } const IfcParse::entity& Ifc4x3_add2::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[303]); } Ifc4x3_add2::IfcDimensionalExponents::IfcDimensionalExponents(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcDimensionalExponents::IfcDimensionalExponents(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_LengthExponent));set_attribute_value(1, (v2_MassExponent));set_attribute_value(2, (v3_TimeExponent));set_attribute_value(3, (v4_ElectricCurrentExponent));set_attribute_value(4, (v5_ThermodynamicTemperatureExponent));set_attribute_value(5, (v6_AmountOfSubstanceExponent));set_attribute_value(6, (v7_LuminousIntensityExponent)); } +Ifc4x3_add2::IfcDimensionalExponents::IfcDimensionalExponents(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_LengthExponent));set_attribute_value(1, (v2_MassExponent));set_attribute_value(2, (v3_TimeExponent));set_attribute_value(3, (v4_ElectricCurrentExponent));set_attribute_value(4, (v5_ThermodynamicTemperatureExponent));set_attribute_value(5, (v6_AmountOfSubstanceExponent));set_attribute_value(6, (v7_LuminousIntensityExponent));; populate_derived(); } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_add2::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = data_.get_attribute_value(0); return v; } @@ -10014,7 +10014,7 @@ void Ifc4x3_add2::IfcDirection::setDirectionRatios(std::vector< double > /*[2:3] const IfcParse::entity& Ifc4x3_add2::IfcDirection::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[305]); } const IfcParse::entity& Ifc4x3_add2::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[305]); } Ifc4x3_add2::IfcDirection::IfcDirection(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcDirection::IfcDirection(std::vector< double > /*[2:3]*/ v1_DirectionRatios) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_DirectionRatios)); } +Ifc4x3_add2::IfcDirection::IfcDirection(std::vector< double > /*[2:3]*/ v1_DirectionRatios) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_DirectionRatios));; populate_derived(); } // Function implementations for IfcDirectrixCurveSweptAreaSolid ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::Directrix() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -10028,7 +10028,7 @@ void Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::setEndParam(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[307]); } const IfcParse::entity& Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[307]); } Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::IfcDirectrixCurveSweptAreaSolid(IfcEntityInstanceData&& e) : IfcSweptAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::IfcDirectrixCurveSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam) : IfcSweptAreaSolid(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::IfcDirectrixCurveSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam) : IfcSweptAreaSolid(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid @@ -10036,7 +10036,7 @@ Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::IfcDirectrixCurveSweptAreaSolid(:: const IfcParse::entity& Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[308]); } const IfcParse::entity& Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[308]); } Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::IfcDirectrixDerivedReferenceSweptAreaSolid(IfcEntityInstanceData&& e) : IfcFixedReferenceSweptAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::IfcDirectrixDerivedReferenceSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam, ::Ifc4x3_add2::IfcDirection* v6_FixedReference) : IfcFixedReferenceSweptAreaSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_FixedReference ? v6_FixedReference->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::IfcDirectrixDerivedReferenceSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam, ::Ifc4x3_add2::IfcDirection* v6_FixedReference) : IfcFixedReferenceSweptAreaSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_FixedReference ? v6_FixedReference->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcDiscreteAccessory boost::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_add2::IfcDiscreteAccessory::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10046,7 +10046,7 @@ void Ifc4x3_add2::IfcDiscreteAccessory::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcDiscreteAccessory::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[309]); } const IfcParse::entity& Ifc4x3_add2::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[309]); } Ifc4x3_add2::IfcDiscreteAccessory::IfcDiscreteAccessory(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcDiscreteAccessory::IfcDiscreteAccessory(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcDiscreteAccessory::IfcDiscreteAccessory(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_add2::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10056,7 +10056,7 @@ void Ifc4x3_add2::IfcDiscreteAccessoryType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcDiscreteAccessoryType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[310]); } const IfcParse::entity& Ifc4x3_add2::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[310]); } Ifc4x3_add2::IfcDiscreteAccessoryType::IfcDiscreteAccessoryType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcDiscreteAccessoryType::IfcDiscreteAccessoryType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcDiscreteAccessoryType::IfcDiscreteAccessoryType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcDistributionBoard boost::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > Ifc4x3_add2::IfcDistributionBoard::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10066,7 +10066,7 @@ void Ifc4x3_add2::IfcDistributionBoard::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcDistributionBoard::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[312]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[312]); } Ifc4x3_add2::IfcDistributionBoard::IfcDistributionBoard(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcDistributionBoard::IfcDistributionBoard(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcDistributionBoard::IfcDistributionBoard(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDistributionBoardType ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value Ifc4x3_add2::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10076,7 +10076,7 @@ void Ifc4x3_add2::IfcDistributionBoardType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcDistributionBoardType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[313]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[313]); } Ifc4x3_add2::IfcDistributionBoardType::IfcDistributionBoardType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcDistributionBoardType::IfcDistributionBoardType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcDistributionBoardType::IfcDistributionBoardType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcDistributionChamberElement boost::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_add2::IfcDistributionChamberElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10086,7 +10086,7 @@ void Ifc4x3_add2::IfcDistributionChamberElement::setPredefinedType(boost::option const IfcParse::entity& Ifc4x3_add2::IfcDistributionChamberElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[315]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[315]); } Ifc4x3_add2::IfcDistributionChamberElement::IfcDistributionChamberElement(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcDistributionChamberElement::IfcDistributionChamberElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcDistributionChamberElement::IfcDistributionChamberElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_add2::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10096,7 +10096,7 @@ void Ifc4x3_add2::IfcDistributionChamberElementType::setPredefinedType(::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcDistributionChamberElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[316]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[316]); } Ifc4x3_add2::IfcDistributionChamberElementType::IfcDistributionChamberElementType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcDistributionChamberElementType::IfcDistributionChamberElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcDistributionChamberElementType::IfcDistributionChamberElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcDistributionCircuit @@ -10104,7 +10104,7 @@ Ifc4x3_add2::IfcDistributionChamberElementType::IfcDistributionChamberElementTyp const IfcParse::entity& Ifc4x3_add2::IfcDistributionCircuit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[318]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[318]); } Ifc4x3_add2::IfcDistributionCircuit::IfcDistributionCircuit(IfcEntityInstanceData&& e) : IfcDistributionSystem(std::move(e)) { } -Ifc4x3_add2::IfcDistributionCircuit::IfcDistributionCircuit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) : IfcDistributionSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +Ifc4x3_add2::IfcDistributionCircuit::IfcDistributionCircuit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) : IfcDistributionSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDistributionControlElement @@ -10113,7 +10113,7 @@ Ifc4x3_add2::IfcDistributionCircuit::IfcDistributionCircuit(std::string v1_Globa const IfcParse::entity& Ifc4x3_add2::IfcDistributionControlElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[319]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[319]); } Ifc4x3_add2::IfcDistributionControlElement::IfcDistributionControlElement(IfcEntityInstanceData&& e) : IfcDistributionElement(std::move(e)) { } -Ifc4x3_add2::IfcDistributionControlElement::IfcDistributionControlElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcDistributionControlElement::IfcDistributionControlElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcDistributionControlElementType @@ -10121,7 +10121,7 @@ Ifc4x3_add2::IfcDistributionControlElement::IfcDistributionControlElement(std::s const IfcParse::entity& Ifc4x3_add2::IfcDistributionControlElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[320]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[320]); } Ifc4x3_add2::IfcDistributionControlElementType::IfcDistributionControlElementType(IfcEntityInstanceData&& e) : IfcDistributionElementType(std::move(e)) { } -Ifc4x3_add2::IfcDistributionControlElementType::IfcDistributionControlElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcDistributionControlElementType::IfcDistributionControlElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcDistributionElement @@ -10130,7 +10130,7 @@ Ifc4x3_add2::IfcDistributionControlElementType::IfcDistributionControlElementTyp const IfcParse::entity& Ifc4x3_add2::IfcDistributionElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[321]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[321]); } Ifc4x3_add2::IfcDistributionElement::IfcDistributionElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcDistributionElement::IfcDistributionElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcDistributionElement::IfcDistributionElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcDistributionElementType @@ -10138,7 +10138,7 @@ Ifc4x3_add2::IfcDistributionElement::IfcDistributionElement(std::string v1_Globa const IfcParse::entity& Ifc4x3_add2::IfcDistributionElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[322]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[322]); } Ifc4x3_add2::IfcDistributionElementType::IfcDistributionElementType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcDistributionElementType::IfcDistributionElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcDistributionElementType::IfcDistributionElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcDistributionFlowElement @@ -10147,7 +10147,7 @@ Ifc4x3_add2::IfcDistributionElementType::IfcDistributionElementType(std::string const IfcParse::entity& Ifc4x3_add2::IfcDistributionFlowElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[323]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[323]); } Ifc4x3_add2::IfcDistributionFlowElement::IfcDistributionFlowElement(IfcEntityInstanceData&& e) : IfcDistributionElement(std::move(e)) { } -Ifc4x3_add2::IfcDistributionFlowElement::IfcDistributionFlowElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcDistributionFlowElement::IfcDistributionFlowElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcDistributionFlowElementType @@ -10155,7 +10155,7 @@ Ifc4x3_add2::IfcDistributionFlowElement::IfcDistributionFlowElement(std::string const IfcParse::entity& Ifc4x3_add2::IfcDistributionFlowElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[324]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[324]); } Ifc4x3_add2::IfcDistributionFlowElementType::IfcDistributionFlowElementType(IfcEntityInstanceData&& e) : IfcDistributionElementType(std::move(e)) { } -Ifc4x3_add2::IfcDistributionFlowElementType::IfcDistributionFlowElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcDistributionFlowElementType::IfcDistributionFlowElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcDistributionPort boost::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > Ifc4x3_add2::IfcDistributionPort::FlowDirection() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFlowDirectionEnum::FromString(data_.get_attribute_value(7)); } @@ -10169,7 +10169,7 @@ void Ifc4x3_add2::IfcDistributionPort::setSystemType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcDistributionPort::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[325]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[325]); } Ifc4x3_add2::IfcDistributionPort::IfcDistributionPort(IfcEntityInstanceData&& e) : IfcPort(std::move(e)) { } -Ifc4x3_add2::IfcDistributionPort::IfcDistributionPort(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > v8_FlowDirection, boost::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v10_SystemType) : IfcPort(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +Ifc4x3_add2::IfcDistributionPort::IfcDistributionPort(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > v8_FlowDirection, boost::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v10_SystemType) : IfcPort(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); }; populate_derived(); } // Function implementations for IfcDistributionSystem boost::optional< std::string > Ifc4x3_add2::IfcDistributionSystem::LongName() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(5); return v; } @@ -10181,7 +10181,7 @@ void Ifc4x3_add2::IfcDistributionSystem::setPredefinedType(boost::optional< ::If const IfcParse::entity& Ifc4x3_add2::IfcDistributionSystem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[327]); } const IfcParse::entity& Ifc4x3_add2::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[327]); } Ifc4x3_add2::IfcDistributionSystem::IfcDistributionSystem(IfcEntityInstanceData&& e) : IfcSystem(std::move(e)) { } -Ifc4x3_add2::IfcDistributionSystem::IfcDistributionSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) : IfcSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +Ifc4x3_add2::IfcDistributionSystem::IfcDistributionSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) : IfcSystem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDocumentInformation std::string Ifc4x3_add2::IfcDocumentInformation::Identification() const { std::string v = data_.get_attribute_value(0); return v; } @@ -10227,7 +10227,7 @@ void Ifc4x3_add2::IfcDocumentInformation::setStatus(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcDocumentInformation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[330]); } const IfcParse::entity& Ifc4x3_add2::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[330]); } Ifc4x3_add2::IfcDocumentInformation::IfcDocumentInformation(IfcEntityInstanceData&& e) : IfcExternalInformation(std::move(e)) { } -Ifc4x3_add2::IfcDocumentInformation::IfcDocumentInformation(std::string v1_Identification, std::string v2_Name, boost::optional< std::string > v3_Description, boost::optional< std::string > v4_Location, boost::optional< std::string > v5_Purpose, boost::optional< std::string > v6_IntendedUse, boost::optional< std::string > v7_Scope, boost::optional< std::string > v8_Revision, ::Ifc4x3_add2::IfcActorSelect* v9_DocumentOwner, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorSelect >::ptr > v10_Editors, boost::optional< std::string > v11_CreationTime, boost::optional< std::string > v12_LastRevisionTime, boost::optional< std::string > v13_ElectronicFormat, boost::optional< std::string > v14_ValidFrom, boost::optional< std::string > v15_ValidUntil, boost::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, boost::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value > v17_Status) : IfcExternalInformation(IfcEntityInstanceData(storage_t(17))) { set_attribute_value(0, (v1_Identification));set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_Location) {set_attribute_value(3, (*v4_Location)); } if (v5_Purpose) {set_attribute_value(4, (*v5_Purpose)); } if (v6_IntendedUse) {set_attribute_value(5, (*v6_IntendedUse)); } if (v7_Scope) {set_attribute_value(6, (*v7_Scope)); } if (v8_Revision) {set_attribute_value(7, (*v8_Revision)); }set_attribute_value(8, v9_DocumentOwner ? v9_DocumentOwner->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v10_Editors) {set_attribute_value(9, (*v10_Editors)->generalize()); } if (v11_CreationTime) {set_attribute_value(10, (*v11_CreationTime)); } if (v12_LastRevisionTime) {set_attribute_value(11, (*v12_LastRevisionTime)); } if (v13_ElectronicFormat) {set_attribute_value(12, (*v13_ElectronicFormat)); } if (v14_ValidFrom) {set_attribute_value(13, (*v14_ValidFrom)); } if (v15_ValidUntil) {set_attribute_value(14, (*v15_ValidUntil)); } if (v16_Confidentiality) {set_attribute_value(15, (EnumerationReference(&::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_add2::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +Ifc4x3_add2::IfcDocumentInformation::IfcDocumentInformation(std::string v1_Identification, std::string v2_Name, boost::optional< std::string > v3_Description, boost::optional< std::string > v4_Location, boost::optional< std::string > v5_Purpose, boost::optional< std::string > v6_IntendedUse, boost::optional< std::string > v7_Scope, boost::optional< std::string > v8_Revision, ::Ifc4x3_add2::IfcActorSelect* v9_DocumentOwner, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorSelect >::ptr > v10_Editors, boost::optional< std::string > v11_CreationTime, boost::optional< std::string > v12_LastRevisionTime, boost::optional< std::string > v13_ElectronicFormat, boost::optional< std::string > v14_ValidFrom, boost::optional< std::string > v15_ValidUntil, boost::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, boost::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value > v17_Status) : IfcExternalInformation(IfcEntityInstanceData(storage_t(17))) { set_attribute_value(0, (v1_Identification));set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_Location) {set_attribute_value(3, (*v4_Location)); } if (v5_Purpose) {set_attribute_value(4, (*v5_Purpose)); } if (v6_IntendedUse) {set_attribute_value(5, (*v6_IntendedUse)); } if (v7_Scope) {set_attribute_value(6, (*v7_Scope)); } if (v8_Revision) {set_attribute_value(7, (*v8_Revision)); }set_attribute_value(8, v9_DocumentOwner ? v9_DocumentOwner->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v10_Editors) {set_attribute_value(9, (*v10_Editors)->generalize()); } if (v11_CreationTime) {set_attribute_value(10, (*v11_CreationTime)); } if (v12_LastRevisionTime) {set_attribute_value(11, (*v12_LastRevisionTime)); } if (v13_ElectronicFormat) {set_attribute_value(12, (*v13_ElectronicFormat)); } if (v14_ValidFrom) {set_attribute_value(13, (*v14_ValidFrom)); } if (v15_ValidUntil) {set_attribute_value(14, (*v15_ValidUntil)); } if (v16_Confidentiality) {set_attribute_value(15, (EnumerationReference(&::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_add2::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); }; populate_derived(); } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_add2::IfcDocumentInformation* Ifc4x3_add2::IfcDocumentInformationRelationship::RelatingDocument() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcDocumentInformation>(true); } @@ -10241,7 +10241,7 @@ void Ifc4x3_add2::IfcDocumentInformationRelationship::setRelationshipType(boost: const IfcParse::entity& Ifc4x3_add2::IfcDocumentInformationRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[331]); } const IfcParse::entity& Ifc4x3_add2::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[331]); } Ifc4x3_add2::IfcDocumentInformationRelationship::IfcDocumentInformationRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcDocumentInformationRelationship::IfcDocumentInformationRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcDocumentInformation* v3_RelatingDocument, aggregate_of< ::Ifc4x3_add2::IfcDocumentInformation >::ptr v4_RelatedDocuments, boost::optional< std::string > v5_RelationshipType) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingDocument ? v3_RelatingDocument->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedDocuments)->generalize()); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } +Ifc4x3_add2::IfcDocumentInformationRelationship::IfcDocumentInformationRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcDocumentInformation* v3_RelatingDocument, aggregate_of< ::Ifc4x3_add2::IfcDocumentInformation >::ptr v4_RelatedDocuments, boost::optional< std::string > v5_RelationshipType) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingDocument ? v3_RelatingDocument->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedDocuments)->generalize()); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); }; populate_derived(); } // Function implementations for IfcDocumentReference boost::optional< std::string > Ifc4x3_add2::IfcDocumentReference::Description() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(3); return v; } @@ -10254,7 +10254,7 @@ void Ifc4x3_add2::IfcDocumentReference::setReferencedDocument(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcDocumentReference::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[332]); } const IfcParse::entity& Ifc4x3_add2::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[332]); } Ifc4x3_add2::IfcDocumentReference::IfcDocumentReference(IfcEntityInstanceData&& e) : IfcExternalReference(std::move(e)) { } -Ifc4x3_add2::IfcDocumentReference::IfcDocumentReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcDocumentInformation* v5_ReferencedDocument) : IfcExternalReference(IfcEntityInstanceData(storage_t(5))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ReferencedDocument ? v5_ReferencedDocument->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcDocumentReference::IfcDocumentReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcDocumentInformation* v5_ReferencedDocument) : IfcExternalReference(IfcEntityInstanceData(storage_t(5))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ReferencedDocument ? v5_ReferencedDocument->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcDoor boost::optional< double > Ifc4x3_add2::IfcDoor::OverallHeight() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } double v = data_.get_attribute_value(8); return v; } @@ -10272,7 +10272,7 @@ void Ifc4x3_add2::IfcDoor::setUserDefinedOperationType(boost::optional< std::str const IfcParse::entity& Ifc4x3_add2::IfcDoor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[335]); } const IfcParse::entity& Ifc4x3_add2::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[335]); } Ifc4x3_add2::IfcDoor::IfcDoor(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcDoor::IfcDoor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< double > v9_OverallHeight, boost::optional< double > v10_OverallWidth, boost::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value > v11_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value > v12_OperationType, boost::optional< std::string > v13_UserDefinedOperationType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OverallHeight) {set_attribute_value(8, (*v9_OverallHeight)); } if (v10_OverallWidth) {set_attribute_value(9, (*v10_OverallWidth)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +Ifc4x3_add2::IfcDoor::IfcDoor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< double > v9_OverallHeight, boost::optional< double > v10_OverallWidth, boost::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value > v11_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value > v12_OperationType, boost::optional< std::string > v13_UserDefinedOperationType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OverallHeight) {set_attribute_value(8, (*v9_OverallHeight)); } if (v10_OverallWidth) {set_attribute_value(9, (*v10_OverallWidth)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); }; populate_derived(); } // Function implementations for IfcDoorLiningProperties boost::optional< double > Ifc4x3_add2::IfcDoorLiningProperties::LiningDepth() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } double v = data_.get_attribute_value(4); return v; } @@ -10306,7 +10306,7 @@ void Ifc4x3_add2::IfcDoorLiningProperties::setLiningToPanelOffsetY(boost::option const IfcParse::entity& Ifc4x3_add2::IfcDoorLiningProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[336]); } const IfcParse::entity& Ifc4x3_add2::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[336]); } Ifc4x3_add2::IfcDoorLiningProperties::IfcDoorLiningProperties(IfcEntityInstanceData&& e) : IfcPreDefinedPropertySet(std::move(e)) { } -Ifc4x3_add2::IfcDoorLiningProperties::IfcDoorLiningProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< double > v5_LiningDepth, boost::optional< double > v6_LiningThickness, boost::optional< double > v7_ThresholdDepth, boost::optional< double > v8_ThresholdThickness, boost::optional< double > v9_TransomThickness, boost::optional< double > v10_TransomOffset, boost::optional< double > v11_LiningOffset, boost::optional< double > v12_ThresholdOffset, boost::optional< double > v13_CasingThickness, boost::optional< double > v14_CasingDepth, ::Ifc4x3_add2::IfcShapeAspect* v15_ShapeAspectStyle, boost::optional< double > v16_LiningToPanelOffsetX, boost::optional< double > v17_LiningToPanelOffsetY) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(17))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_LiningDepth) {set_attribute_value(4, (*v5_LiningDepth)); } if (v6_LiningThickness) {set_attribute_value(5, (*v6_LiningThickness)); } if (v7_ThresholdDepth) {set_attribute_value(6, (*v7_ThresholdDepth)); } if (v8_ThresholdThickness) {set_attribute_value(7, (*v8_ThresholdThickness)); } if (v9_TransomThickness) {set_attribute_value(8, (*v9_TransomThickness)); } if (v10_TransomOffset) {set_attribute_value(9, (*v10_TransomOffset)); } if (v11_LiningOffset) {set_attribute_value(10, (*v11_LiningOffset)); } if (v12_ThresholdOffset) {set_attribute_value(11, (*v12_ThresholdOffset)); } if (v13_CasingThickness) {set_attribute_value(12, (*v13_CasingThickness)); } if (v14_CasingDepth) {set_attribute_value(13, (*v14_CasingDepth)); }set_attribute_value(14, v15_ShapeAspectStyle ? v15_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } +Ifc4x3_add2::IfcDoorLiningProperties::IfcDoorLiningProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< double > v5_LiningDepth, boost::optional< double > v6_LiningThickness, boost::optional< double > v7_ThresholdDepth, boost::optional< double > v8_ThresholdThickness, boost::optional< double > v9_TransomThickness, boost::optional< double > v10_TransomOffset, boost::optional< double > v11_LiningOffset, boost::optional< double > v12_ThresholdOffset, boost::optional< double > v13_CasingThickness, boost::optional< double > v14_CasingDepth, ::Ifc4x3_add2::IfcShapeAspect* v15_ShapeAspectStyle, boost::optional< double > v16_LiningToPanelOffsetX, boost::optional< double > v17_LiningToPanelOffsetY) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(17))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_LiningDepth) {set_attribute_value(4, (*v5_LiningDepth)); } if (v6_LiningThickness) {set_attribute_value(5, (*v6_LiningThickness)); } if (v7_ThresholdDepth) {set_attribute_value(6, (*v7_ThresholdDepth)); } if (v8_ThresholdThickness) {set_attribute_value(7, (*v8_ThresholdThickness)); } if (v9_TransomThickness) {set_attribute_value(8, (*v9_TransomThickness)); } if (v10_TransomOffset) {set_attribute_value(9, (*v10_TransomOffset)); } if (v11_LiningOffset) {set_attribute_value(10, (*v11_LiningOffset)); } if (v12_ThresholdOffset) {set_attribute_value(11, (*v12_ThresholdOffset)); } if (v13_CasingThickness) {set_attribute_value(12, (*v13_CasingThickness)); } if (v14_CasingDepth) {set_attribute_value(13, (*v14_CasingDepth)); }set_attribute_value(14, v15_ShapeAspectStyle ? v15_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); }; populate_derived(); } // Function implementations for IfcDoorPanelProperties boost::optional< double > Ifc4x3_add2::IfcDoorPanelProperties::PanelDepth() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } double v = data_.get_attribute_value(4); return v; } @@ -10324,7 +10324,7 @@ void Ifc4x3_add2::IfcDoorPanelProperties::setShapeAspectStyle(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcDoorPanelProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[339]); } const IfcParse::entity& Ifc4x3_add2::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[339]); } Ifc4x3_add2::IfcDoorPanelProperties::IfcDoorPanelProperties(IfcEntityInstanceData&& e) : IfcPreDefinedPropertySet(std::move(e)) { } -Ifc4x3_add2::IfcDoorPanelProperties::IfcDoorPanelProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< double > v5_PanelDepth, ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, boost::optional< double > v7_PanelWidth, ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add2::IfcShapeAspect* v9_ShapeAspectStyle) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_PanelDepth) {set_attribute_value(4, (*v5_PanelDepth)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, v9_ShapeAspectStyle ? v9_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcDoorPanelProperties::IfcDoorPanelProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< double > v5_PanelDepth, ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, boost::optional< double > v7_PanelWidth, ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add2::IfcShapeAspect* v9_ShapeAspectStyle) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_PanelDepth) {set_attribute_value(4, (*v5_PanelDepth)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, v9_ShapeAspectStyle ? v9_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcDoorType ::Ifc4x3_add2::IfcDoorTypeEnum::Value Ifc4x3_add2::IfcDoorType::PredefinedType() const { return ::Ifc4x3_add2::IfcDoorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10340,7 +10340,7 @@ void Ifc4x3_add2::IfcDoorType::setUserDefinedOperationType(boost::optional< std: const IfcParse::entity& Ifc4x3_add2::IfcDoorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[340]); } const IfcParse::entity& Ifc4x3_add2::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[340]); } Ifc4x3_add2::IfcDoorType::IfcDoorType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcDoorType::IfcDoorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value v11_OperationType, boost::optional< bool > v12_ParameterTakesPrecedence, boost::optional< std::string > v13_UserDefinedOperationType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +Ifc4x3_add2::IfcDoorType::IfcDoorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value v11_OperationType, boost::optional< bool > v12_ParameterTakesPrecedence, boost::optional< std::string > v13_UserDefinedOperationType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); }; populate_derived(); } // Function implementations for IfcDraughtingPreDefinedColour @@ -10348,7 +10348,7 @@ Ifc4x3_add2::IfcDoorType::IfcDoorType(std::string v1_GlobalId, ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcDraughtingPreDefinedColour::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[344]); } const IfcParse::entity& Ifc4x3_add2::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[344]); } Ifc4x3_add2::IfcDraughtingPreDefinedColour::IfcDraughtingPreDefinedColour(IfcEntityInstanceData&& e) : IfcPreDefinedColour(std::move(e)) { } -Ifc4x3_add2::IfcDraughtingPreDefinedColour::IfcDraughtingPreDefinedColour(std::string v1_Name) : IfcPreDefinedColour(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name)); } +Ifc4x3_add2::IfcDraughtingPreDefinedColour::IfcDraughtingPreDefinedColour(std::string v1_Name) : IfcPreDefinedColour(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name));; populate_derived(); } // Function implementations for IfcDraughtingPreDefinedCurveFont @@ -10356,7 +10356,7 @@ Ifc4x3_add2::IfcDraughtingPreDefinedColour::IfcDraughtingPreDefinedColour(std::s const IfcParse::entity& Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[345]); } const IfcParse::entity& Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[345]); } Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::IfcDraughtingPreDefinedCurveFont(IfcEntityInstanceData&& e) : IfcPreDefinedCurveFont(std::move(e)) { } -Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::IfcDraughtingPreDefinedCurveFont(std::string v1_Name) : IfcPreDefinedCurveFont(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name)); } +Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::IfcDraughtingPreDefinedCurveFont(std::string v1_Name) : IfcPreDefinedCurveFont(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name));; populate_derived(); } // Function implementations for IfcDuctFitting boost::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > Ifc4x3_add2::IfcDuctFitting::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcDuctFittingTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10366,7 +10366,7 @@ void Ifc4x3_add2::IfcDuctFitting::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcDuctFitting::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[346]); } const IfcParse::entity& Ifc4x3_add2::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[346]); } Ifc4x3_add2::IfcDuctFitting::IfcDuctFitting(IfcEntityInstanceData&& e) : IfcFlowFitting(std::move(e)) { } -Ifc4x3_add2::IfcDuctFitting::IfcDuctFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcDuctFitting::IfcDuctFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDuctFittingType ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value Ifc4x3_add2::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcDuctFittingTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10376,7 +10376,7 @@ void Ifc4x3_add2::IfcDuctFittingType::setPredefinedType(::Ifc4x3_add2::IfcDuctFi const IfcParse::entity& Ifc4x3_add2::IfcDuctFittingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[347]); } const IfcParse::entity& Ifc4x3_add2::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[347]); } Ifc4x3_add2::IfcDuctFittingType::IfcDuctFittingType(IfcEntityInstanceData&& e) : IfcFlowFittingType(std::move(e)) { } -Ifc4x3_add2::IfcDuctFittingType::IfcDuctFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcDuctFittingType::IfcDuctFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcDuctSegment boost::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > Ifc4x3_add2::IfcDuctSegment::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10386,7 +10386,7 @@ void Ifc4x3_add2::IfcDuctSegment::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcDuctSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[349]); } const IfcParse::entity& Ifc4x3_add2::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[349]); } Ifc4x3_add2::IfcDuctSegment::IfcDuctSegment(IfcEntityInstanceData&& e) : IfcFlowSegment(std::move(e)) { } -Ifc4x3_add2::IfcDuctSegment::IfcDuctSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcDuctSegment::IfcDuctSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDuctSegmentType ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value Ifc4x3_add2::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10396,7 +10396,7 @@ void Ifc4x3_add2::IfcDuctSegmentType::setPredefinedType(::Ifc4x3_add2::IfcDuctSe const IfcParse::entity& Ifc4x3_add2::IfcDuctSegmentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[350]); } const IfcParse::entity& Ifc4x3_add2::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[350]); } Ifc4x3_add2::IfcDuctSegmentType::IfcDuctSegmentType(IfcEntityInstanceData&& e) : IfcFlowSegmentType(std::move(e)) { } -Ifc4x3_add2::IfcDuctSegmentType::IfcDuctSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcDuctSegmentType::IfcDuctSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcDuctSilencer boost::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > Ifc4x3_add2::IfcDuctSilencer::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10406,7 +10406,7 @@ void Ifc4x3_add2::IfcDuctSilencer::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcDuctSilencer::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[352]); } const IfcParse::entity& Ifc4x3_add2::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[352]); } Ifc4x3_add2::IfcDuctSilencer::IfcDuctSilencer(IfcEntityInstanceData&& e) : IfcFlowTreatmentDevice(std::move(e)) { } -Ifc4x3_add2::IfcDuctSilencer::IfcDuctSilencer(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcDuctSilencer::IfcDuctSilencer(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcDuctSilencerType ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value Ifc4x3_add2::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10416,7 +10416,7 @@ void Ifc4x3_add2::IfcDuctSilencerType::setPredefinedType(::Ifc4x3_add2::IfcDuctS const IfcParse::entity& Ifc4x3_add2::IfcDuctSilencerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[353]); } const IfcParse::entity& Ifc4x3_add2::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[353]); } Ifc4x3_add2::IfcDuctSilencerType::IfcDuctSilencerType(IfcEntityInstanceData&& e) : IfcFlowTreatmentDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcDuctSilencerType::IfcDuctSilencerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcDuctSilencerType::IfcDuctSilencerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcEarthworksCut boost::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > Ifc4x3_add2::IfcEarthworksCut::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10426,7 +10426,7 @@ void Ifc4x3_add2::IfcEarthworksCut::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcEarthworksCut::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[357]); } const IfcParse::entity& Ifc4x3_add2::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[357]); } Ifc4x3_add2::IfcEarthworksCut::IfcEarthworksCut(IfcEntityInstanceData&& e) : IfcFeatureElementSubtraction(std::move(e)) { } -Ifc4x3_add2::IfcEarthworksCut::IfcEarthworksCut(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementSubtraction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcEarthworksCut::IfcEarthworksCut(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementSubtraction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcEarthworksElement @@ -10434,7 +10434,7 @@ Ifc4x3_add2::IfcEarthworksCut::IfcEarthworksCut(std::string v1_GlobalId, ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcEarthworksElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[359]); } const IfcParse::entity& Ifc4x3_add2::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[359]); } Ifc4x3_add2::IfcEarthworksElement::IfcEarthworksElement(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcEarthworksElement::IfcEarthworksElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcBuiltElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcEarthworksElement::IfcEarthworksElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcBuiltElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcEarthworksFill boost::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > Ifc4x3_add2::IfcEarthworksFill::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10444,7 +10444,7 @@ void Ifc4x3_add2::IfcEarthworksFill::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcEarthworksFill::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[360]); } const IfcParse::entity& Ifc4x3_add2::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[360]); } Ifc4x3_add2::IfcEarthworksFill::IfcEarthworksFill(IfcEntityInstanceData&& e) : IfcEarthworksElement(std::move(e)) { } -Ifc4x3_add2::IfcEarthworksFill::IfcEarthworksFill(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) : IfcEarthworksElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcEarthworksFill::IfcEarthworksFill(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) : IfcEarthworksElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcEdge ::Ifc4x3_add2::IfcVertex* Ifc4x3_add2::IfcEdge::EdgeStart() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcVertex>(true); } @@ -10456,7 +10456,7 @@ void Ifc4x3_add2::IfcEdge::setEdgeEnd(::Ifc4x3_add2::IfcVertex* v) { set_attribu const IfcParse::entity& Ifc4x3_add2::IfcEdge::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[362]); } const IfcParse::entity& Ifc4x3_add2::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[362]); } Ifc4x3_add2::IfcEdge::IfcEdge(IfcEntityInstanceData&& e) : IfcTopologicalRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcEdge::IfcEdge(::Ifc4x3_add2::IfcVertex* v1_EdgeStart, ::Ifc4x3_add2::IfcVertex* v2_EdgeEnd) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_EdgeStart ? v1_EdgeStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_EdgeEnd ? v2_EdgeEnd->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcEdge::IfcEdge(::Ifc4x3_add2::IfcVertex* v1_EdgeStart, ::Ifc4x3_add2::IfcVertex* v2_EdgeEnd) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_EdgeStart ? v1_EdgeStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_EdgeEnd ? v2_EdgeEnd->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcEdgeCurve ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcEdgeCurve::EdgeGeometry() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -10468,7 +10468,7 @@ void Ifc4x3_add2::IfcEdgeCurve::setSameSense(bool v) { set_attribute_value(3, v) const IfcParse::entity& Ifc4x3_add2::IfcEdgeCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[363]); } const IfcParse::entity& Ifc4x3_add2::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[363]); } Ifc4x3_add2::IfcEdgeCurve::IfcEdgeCurve(IfcEntityInstanceData&& e) : IfcEdge(std::move(e)) { } -Ifc4x3_add2::IfcEdgeCurve::IfcEdgeCurve(::Ifc4x3_add2::IfcVertex* v1_EdgeStart, ::Ifc4x3_add2::IfcVertex* v2_EdgeEnd, ::Ifc4x3_add2::IfcCurve* v3_EdgeGeometry, bool v4_SameSense) : IfcEdge(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_EdgeStart ? v1_EdgeStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_EdgeEnd ? v2_EdgeEnd->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_EdgeGeometry ? v3_EdgeGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_SameSense)); } +Ifc4x3_add2::IfcEdgeCurve::IfcEdgeCurve(::Ifc4x3_add2::IfcVertex* v1_EdgeStart, ::Ifc4x3_add2::IfcVertex* v2_EdgeEnd, ::Ifc4x3_add2::IfcCurve* v3_EdgeGeometry, bool v4_SameSense) : IfcEdge(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_EdgeStart ? v1_EdgeStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_EdgeEnd ? v2_EdgeEnd->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_EdgeGeometry ? v3_EdgeGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_SameSense));; populate_derived(); } // Function implementations for IfcEdgeLoop aggregate_of< ::Ifc4x3_add2::IfcOrientedEdge >::ptr Ifc4x3_add2::IfcEdgeLoop::EdgeList() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcOrientedEdge >(); } @@ -10478,7 +10478,7 @@ void Ifc4x3_add2::IfcEdgeLoop::setEdgeList(aggregate_of< ::Ifc4x3_add2::IfcOrien const IfcParse::entity& Ifc4x3_add2::IfcEdgeLoop::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[364]); } const IfcParse::entity& Ifc4x3_add2::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[364]); } Ifc4x3_add2::IfcEdgeLoop::IfcEdgeLoop(IfcEntityInstanceData&& e) : IfcLoop(std::move(e)) { } -Ifc4x3_add2::IfcEdgeLoop::IfcEdgeLoop(aggregate_of< ::Ifc4x3_add2::IfcOrientedEdge >::ptr v1_EdgeList) : IfcLoop(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_EdgeList)->generalize()); } +Ifc4x3_add2::IfcEdgeLoop::IfcEdgeLoop(aggregate_of< ::Ifc4x3_add2::IfcOrientedEdge >::ptr v1_EdgeList) : IfcLoop(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_EdgeList)->generalize());; populate_derived(); } // Function implementations for IfcElectricAppliance boost::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > Ifc4x3_add2::IfcElectricAppliance::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10488,7 +10488,7 @@ void Ifc4x3_add2::IfcElectricAppliance::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcElectricAppliance::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[365]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[365]); } Ifc4x3_add2::IfcElectricAppliance::IfcElectricAppliance(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcElectricAppliance::IfcElectricAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcElectricAppliance::IfcElectricAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElectricApplianceType ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value Ifc4x3_add2::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10498,7 +10498,7 @@ void Ifc4x3_add2::IfcElectricApplianceType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcElectricApplianceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[366]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[366]); } Ifc4x3_add2::IfcElectricApplianceType::IfcElectricApplianceType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcElectricApplianceType::IfcElectricApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElectricApplianceType::IfcElectricApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElectricDistributionBoard boost::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_add2::IfcElectricDistributionBoard::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10508,7 +10508,7 @@ void Ifc4x3_add2::IfcElectricDistributionBoard::setPredefinedType(boost::optiona const IfcParse::entity& Ifc4x3_add2::IfcElectricDistributionBoard::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[372]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[372]); } Ifc4x3_add2::IfcElectricDistributionBoard::IfcElectricDistributionBoard(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcElectricDistributionBoard::IfcElectricDistributionBoard(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcElectricDistributionBoard::IfcElectricDistributionBoard(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_add2::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10518,7 +10518,7 @@ void Ifc4x3_add2::IfcElectricDistributionBoardType::setPredefinedType(::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcElectricDistributionBoardType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[373]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[373]); } Ifc4x3_add2::IfcElectricDistributionBoardType::IfcElectricDistributionBoardType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcElectricDistributionBoardType::IfcElectricDistributionBoardType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElectricDistributionBoardType::IfcElectricDistributionBoardType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElectricFlowStorageDevice boost::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_add2::IfcElectricFlowStorageDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10528,7 +10528,7 @@ void Ifc4x3_add2::IfcElectricFlowStorageDevice::setPredefinedType(boost::optiona const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowStorageDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[375]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[375]); } Ifc4x3_add2::IfcElectricFlowStorageDevice::IfcElectricFlowStorageDevice(IfcEntityInstanceData&& e) : IfcFlowStorageDevice(std::move(e)) { } -Ifc4x3_add2::IfcElectricFlowStorageDevice::IfcElectricFlowStorageDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowStorageDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcElectricFlowStorageDevice::IfcElectricFlowStorageDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowStorageDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_add2::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10538,7 +10538,7 @@ void Ifc4x3_add2::IfcElectricFlowStorageDeviceType::setPredefinedType(::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowStorageDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[376]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[376]); } Ifc4x3_add2::IfcElectricFlowStorageDeviceType::IfcElectricFlowStorageDeviceType(IfcEntityInstanceData&& e) : IfcFlowStorageDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcElectricFlowStorageDeviceType::IfcElectricFlowStorageDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowStorageDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElectricFlowStorageDeviceType::IfcElectricFlowStorageDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowStorageDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElectricFlowTreatmentDevice boost::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_add2::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10548,7 +10548,7 @@ void Ifc4x3_add2::IfcElectricFlowTreatmentDevice::setPredefinedType(boost::optio const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[378]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[378]); } Ifc4x3_add2::IfcElectricFlowTreatmentDevice::IfcElectricFlowTreatmentDevice(IfcEntityInstanceData&& e) : IfcFlowTreatmentDevice(std::move(e)) { } -Ifc4x3_add2::IfcElectricFlowTreatmentDevice::IfcElectricFlowTreatmentDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcElectricFlowTreatmentDevice::IfcElectricFlowTreatmentDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10558,7 +10558,7 @@ void Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::setPredefinedType(::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[379]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[379]); } Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::IfcElectricFlowTreatmentDeviceType(IfcEntityInstanceData&& e) : IfcFlowTreatmentDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::IfcElectricFlowTreatmentDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::IfcElectricFlowTreatmentDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElectricGenerator boost::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_add2::IfcElectricGenerator::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10568,7 +10568,7 @@ void Ifc4x3_add2::IfcElectricGenerator::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcElectricGenerator::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[381]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[381]); } Ifc4x3_add2::IfcElectricGenerator::IfcElectricGenerator(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcElectricGenerator::IfcElectricGenerator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcElectricGenerator::IfcElectricGenerator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value Ifc4x3_add2::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10578,7 +10578,7 @@ void Ifc4x3_add2::IfcElectricGeneratorType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcElectricGeneratorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[382]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[382]); } Ifc4x3_add2::IfcElectricGeneratorType::IfcElectricGeneratorType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcElectricGeneratorType::IfcElectricGeneratorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElectricGeneratorType::IfcElectricGeneratorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElectricMotor boost::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > Ifc4x3_add2::IfcElectricMotor::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElectricMotorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10588,7 +10588,7 @@ void Ifc4x3_add2::IfcElectricMotor::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcElectricMotor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[384]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[384]); } Ifc4x3_add2::IfcElectricMotor::IfcElectricMotor(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcElectricMotor::IfcElectricMotor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcElectricMotor::IfcElectricMotor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElectricMotorType ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value Ifc4x3_add2::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricMotorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10598,7 +10598,7 @@ void Ifc4x3_add2::IfcElectricMotorType::setPredefinedType(::Ifc4x3_add2::IfcElec const IfcParse::entity& Ifc4x3_add2::IfcElectricMotorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[385]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[385]); } Ifc4x3_add2::IfcElectricMotorType::IfcElectricMotorType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcElectricMotorType::IfcElectricMotorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElectricMotorType::IfcElectricMotorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElectricTimeControl boost::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_add2::IfcElectricTimeControl::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10608,7 +10608,7 @@ void Ifc4x3_add2::IfcElectricTimeControl::setPredefinedType(boost::optional< ::I const IfcParse::entity& Ifc4x3_add2::IfcElectricTimeControl::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[388]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[388]); } Ifc4x3_add2::IfcElectricTimeControl::IfcElectricTimeControl(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcElectricTimeControl::IfcElectricTimeControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcElectricTimeControl::IfcElectricTimeControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value Ifc4x3_add2::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10618,7 +10618,7 @@ void Ifc4x3_add2::IfcElectricTimeControlType::setPredefinedType(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcElectricTimeControlType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[389]); } const IfcParse::entity& Ifc4x3_add2::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[389]); } Ifc4x3_add2::IfcElectricTimeControlType::IfcElectricTimeControlType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcElectricTimeControlType::IfcElectricTimeControlType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElectricTimeControlType::IfcElectricTimeControlType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElement boost::optional< std::string > Ifc4x3_add2::IfcElement::Tag() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(7); return v; } @@ -10640,7 +10640,7 @@ void Ifc4x3_add2::IfcElement::setTag(boost::optional< std::string > v) { if (v) const IfcParse::entity& Ifc4x3_add2::IfcElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[392]); } const IfcParse::entity& Ifc4x3_add2::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[392]); } Ifc4x3_add2::IfcElement::IfcElement(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcElement::IfcElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcProduct(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcElement::IfcElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcProduct(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcElementAssembly boost::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > Ifc4x3_add2::IfcElementAssembly::AssemblyPlace() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcAssemblyPlaceEnum::FromString(data_.get_attribute_value(8)); } @@ -10652,7 +10652,7 @@ void Ifc4x3_add2::IfcElementAssembly::setPredefinedType(boost::optional< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcElementAssembly::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[394]); } const IfcParse::entity& Ifc4x3_add2::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[394]); } Ifc4x3_add2::IfcElementAssembly::IfcElementAssembly(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcElementAssembly::IfcElementAssembly(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, boost::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) : IfcElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcElementAssembly::IfcElementAssembly(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, boost::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) : IfcElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcElementAssemblyType ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value Ifc4x3_add2::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10662,7 +10662,7 @@ void Ifc4x3_add2::IfcElementAssemblyType::setPredefinedType(::Ifc4x3_add2::IfcEl const IfcParse::entity& Ifc4x3_add2::IfcElementAssemblyType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[395]); } const IfcParse::entity& Ifc4x3_add2::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[395]); } Ifc4x3_add2::IfcElementAssemblyType::IfcElementAssemblyType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcElementAssemblyType::IfcElementAssemblyType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) : IfcElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcElementAssemblyType::IfcElementAssemblyType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) : IfcElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcElementComponent @@ -10670,7 +10670,7 @@ Ifc4x3_add2::IfcElementAssemblyType::IfcElementAssemblyType(std::string v1_Globa const IfcParse::entity& Ifc4x3_add2::IfcElementComponent::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[397]); } const IfcParse::entity& Ifc4x3_add2::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[397]); } Ifc4x3_add2::IfcElementComponent::IfcElementComponent(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcElementComponent::IfcElementComponent(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcElementComponent::IfcElementComponent(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcElementComponentType @@ -10678,7 +10678,7 @@ Ifc4x3_add2::IfcElementComponent::IfcElementComponent(std::string v1_GlobalId, : const IfcParse::entity& Ifc4x3_add2::IfcElementComponentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[398]); } const IfcParse::entity& Ifc4x3_add2::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[398]); } Ifc4x3_add2::IfcElementComponentType::IfcElementComponentType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcElementComponentType::IfcElementComponentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcElementComponentType::IfcElementComponentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcElementQuantity boost::optional< std::string > Ifc4x3_add2::IfcElementQuantity::MethodOfMeasurement() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(4); return v; } @@ -10690,7 +10690,7 @@ void Ifc4x3_add2::IfcElementQuantity::setQuantities(aggregate_of< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcElementQuantity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[400]); } const IfcParse::entity& Ifc4x3_add2::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[400]); } Ifc4x3_add2::IfcElementQuantity::IfcElementQuantity(IfcEntityInstanceData&& e) : IfcQuantitySet(std::move(e)) { } -Ifc4x3_add2::IfcElementQuantity::IfcElementQuantity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_MethodOfMeasurement, aggregate_of< ::Ifc4x3_add2::IfcPhysicalQuantity >::ptr v6_Quantities) : IfcQuantitySet(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_MethodOfMeasurement) {set_attribute_value(4, (*v5_MethodOfMeasurement)); }set_attribute_value(5, (v6_Quantities)->generalize()); } +Ifc4x3_add2::IfcElementQuantity::IfcElementQuantity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_MethodOfMeasurement, aggregate_of< ::Ifc4x3_add2::IfcPhysicalQuantity >::ptr v6_Quantities) : IfcQuantitySet(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_MethodOfMeasurement) {set_attribute_value(4, (*v5_MethodOfMeasurement)); }set_attribute_value(5, (v6_Quantities)->generalize());; populate_derived(); } // Function implementations for IfcElementType boost::optional< std::string > Ifc4x3_add2::IfcElementType::ElementType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(8); return v; } @@ -10700,7 +10700,7 @@ void Ifc4x3_add2::IfcElementType::setElementType(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[401]); } const IfcParse::entity& Ifc4x3_add2::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[401]); } Ifc4x3_add2::IfcElementType::IfcElementType(IfcEntityInstanceData&& e) : IfcTypeProduct(std::move(e)) { } -Ifc4x3_add2::IfcElementType::IfcElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcTypeProduct(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcElementType::IfcElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcTypeProduct(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcElementarySurface ::Ifc4x3_add2::IfcAxis2Placement3D* Ifc4x3_add2::IfcElementarySurface::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcAxis2Placement3D>(true); } @@ -10710,7 +10710,7 @@ void Ifc4x3_add2::IfcElementarySurface::setPosition(::Ifc4x3_add2::IfcAxis2Place const IfcParse::entity& Ifc4x3_add2::IfcElementarySurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[393]); } const IfcParse::entity& Ifc4x3_add2::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[393]); } Ifc4x3_add2::IfcElementarySurface::IfcElementarySurface(IfcEntityInstanceData&& e) : IfcSurface(std::move(e)) { } -Ifc4x3_add2::IfcElementarySurface::IfcElementarySurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position) : IfcSurface(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcElementarySurface::IfcElementarySurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position) : IfcSurface(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcEllipse double Ifc4x3_add2::IfcEllipse::SemiAxis1() const { double v = data_.get_attribute_value(1); return v; } @@ -10722,7 +10722,7 @@ void Ifc4x3_add2::IfcEllipse::setSemiAxis2(double v) { set_attribute_value(2, v) const IfcParse::entity& Ifc4x3_add2::IfcEllipse::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[402]); } const IfcParse::entity& Ifc4x3_add2::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[402]); } Ifc4x3_add2::IfcEllipse::IfcEllipse(IfcEntityInstanceData&& e) : IfcConic(std::move(e)) { } -Ifc4x3_add2::IfcEllipse::IfcEllipse(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) : IfcConic(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } +Ifc4x3_add2::IfcEllipse::IfcEllipse(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) : IfcConic(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2));; populate_derived(); } // Function implementations for IfcEllipseProfileDef double Ifc4x3_add2::IfcEllipseProfileDef::SemiAxis1() const { double v = data_.get_attribute_value(3); return v; } @@ -10734,7 +10734,7 @@ void Ifc4x3_add2::IfcEllipseProfileDef::setSemiAxis2(double v) { set_attribute_v const IfcParse::entity& Ifc4x3_add2::IfcEllipseProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[403]); } const IfcParse::entity& Ifc4x3_add2::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[403]); } Ifc4x3_add2::IfcEllipseProfileDef::IfcEllipseProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcEllipseProfileDef::IfcEllipseProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +Ifc4x3_add2::IfcEllipseProfileDef::IfcEllipseProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2));; populate_derived(); } // Function implementations for IfcEnergyConversionDevice @@ -10742,7 +10742,7 @@ Ifc4x3_add2::IfcEllipseProfileDef::IfcEllipseProfileDef(::Ifc4x3_add2::IfcProfil const IfcParse::entity& Ifc4x3_add2::IfcEnergyConversionDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[404]); } const IfcParse::entity& Ifc4x3_add2::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[404]); } Ifc4x3_add2::IfcEnergyConversionDevice::IfcEnergyConversionDevice(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcEnergyConversionDevice::IfcEnergyConversionDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcEnergyConversionDevice::IfcEnergyConversionDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcEnergyConversionDeviceType @@ -10750,7 +10750,7 @@ Ifc4x3_add2::IfcEnergyConversionDevice::IfcEnergyConversionDevice(std::string v1 const IfcParse::entity& Ifc4x3_add2::IfcEnergyConversionDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[405]); } const IfcParse::entity& Ifc4x3_add2::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[405]); } Ifc4x3_add2::IfcEnergyConversionDeviceType::IfcEnergyConversionDeviceType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcEnergyConversionDeviceType::IfcEnergyConversionDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcEnergyConversionDeviceType::IfcEnergyConversionDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcEngine boost::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > Ifc4x3_add2::IfcEngine::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcEngineTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10760,7 +10760,7 @@ void Ifc4x3_add2::IfcEngine::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcEngine::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[407]); } const IfcParse::entity& Ifc4x3_add2::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[407]); } Ifc4x3_add2::IfcEngine::IfcEngine(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcEngine::IfcEngine(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcEngine::IfcEngine(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcEngineType ::Ifc4x3_add2::IfcEngineTypeEnum::Value Ifc4x3_add2::IfcEngineType::PredefinedType() const { return ::Ifc4x3_add2::IfcEngineTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10770,7 +10770,7 @@ void Ifc4x3_add2::IfcEngineType::setPredefinedType(::Ifc4x3_add2::IfcEngineTypeE const IfcParse::entity& Ifc4x3_add2::IfcEngineType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[408]); } const IfcParse::entity& Ifc4x3_add2::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[408]); } Ifc4x3_add2::IfcEngineType::IfcEngineType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcEngineType::IfcEngineType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEngineTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcEngineType::IfcEngineType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEngineTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcEvaporativeCooler boost::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_add2::IfcEvaporativeCooler::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10780,7 +10780,7 @@ void Ifc4x3_add2::IfcEvaporativeCooler::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcEvaporativeCooler::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[410]); } const IfcParse::entity& Ifc4x3_add2::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[410]); } Ifc4x3_add2::IfcEvaporativeCooler::IfcEvaporativeCooler(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcEvaporativeCooler::IfcEvaporativeCooler(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcEvaporativeCooler::IfcEvaporativeCooler(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_add2::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10790,7 +10790,7 @@ void Ifc4x3_add2::IfcEvaporativeCoolerType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcEvaporativeCoolerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[411]); } const IfcParse::entity& Ifc4x3_add2::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[411]); } Ifc4x3_add2::IfcEvaporativeCoolerType::IfcEvaporativeCoolerType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcEvaporativeCoolerType::IfcEvaporativeCoolerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcEvaporativeCoolerType::IfcEvaporativeCoolerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcEvaporator boost::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > Ifc4x3_add2::IfcEvaporator::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcEvaporatorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10800,7 +10800,7 @@ void Ifc4x3_add2::IfcEvaporator::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcEvaporator::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[413]); } const IfcParse::entity& Ifc4x3_add2::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[413]); } Ifc4x3_add2::IfcEvaporator::IfcEvaporator(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcEvaporator::IfcEvaporator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcEvaporator::IfcEvaporator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcEvaporatorType ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value Ifc4x3_add2::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_add2::IfcEvaporatorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10810,7 +10810,7 @@ void Ifc4x3_add2::IfcEvaporatorType::setPredefinedType(::Ifc4x3_add2::IfcEvapora const IfcParse::entity& Ifc4x3_add2::IfcEvaporatorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[414]); } const IfcParse::entity& Ifc4x3_add2::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[414]); } Ifc4x3_add2::IfcEvaporatorType::IfcEvaporatorType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcEvaporatorType::IfcEvaporatorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcEvaporatorType::IfcEvaporatorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcEvent boost::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value > Ifc4x3_add2::IfcEvent::PredefinedType() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcEventTypeEnum::FromString(data_.get_attribute_value(7)); } @@ -10826,7 +10826,7 @@ void Ifc4x3_add2::IfcEvent::setEventOccurenceTime(::Ifc4x3_add2::IfcEventTime* v const IfcParse::entity& Ifc4x3_add2::IfcEvent::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[416]); } const IfcParse::entity& Ifc4x3_add2::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[416]); } Ifc4x3_add2::IfcEvent::IfcEvent(IfcEntityInstanceData&& e) : IfcProcess(std::move(e)) { } -Ifc4x3_add2::IfcEvent::IfcEvent(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, boost::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value > v8_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, boost::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add2::IfcEventTime* v11_EventOccurenceTime) : IfcProcess(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, v11_EventOccurenceTime ? v11_EventOccurenceTime->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcEvent::IfcEvent(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, boost::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value > v8_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, boost::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add2::IfcEventTime* v11_EventOccurenceTime) : IfcProcess(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, v11_EventOccurenceTime ? v11_EventOccurenceTime->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcEventTime boost::optional< std::string > Ifc4x3_add2::IfcEventTime::ActualDate() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(3); return v; } @@ -10842,7 +10842,7 @@ void Ifc4x3_add2::IfcEventTime::setScheduleDate(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcEventTime::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[417]); } const IfcParse::entity& Ifc4x3_add2::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[417]); } Ifc4x3_add2::IfcEventTime::IfcEventTime(IfcEntityInstanceData&& e) : IfcSchedulingTime(std::move(e)) { } -Ifc4x3_add2::IfcEventTime::IfcEventTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< std::string > v4_ActualDate, boost::optional< std::string > v5_EarlyDate, boost::optional< std::string > v6_LateDate, boost::optional< std::string > v7_ScheduleDate) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_ActualDate) {set_attribute_value(3, (*v4_ActualDate)); } if (v5_EarlyDate) {set_attribute_value(4, (*v5_EarlyDate)); } if (v6_LateDate) {set_attribute_value(5, (*v6_LateDate)); } if (v7_ScheduleDate) {set_attribute_value(6, (*v7_ScheduleDate)); } } +Ifc4x3_add2::IfcEventTime::IfcEventTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< std::string > v4_ActualDate, boost::optional< std::string > v5_EarlyDate, boost::optional< std::string > v6_LateDate, boost::optional< std::string > v7_ScheduleDate) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_ActualDate) {set_attribute_value(3, (*v4_ActualDate)); } if (v5_EarlyDate) {set_attribute_value(4, (*v5_EarlyDate)); } if (v6_LateDate) {set_attribute_value(5, (*v6_LateDate)); } if (v7_ScheduleDate) {set_attribute_value(6, (*v7_ScheduleDate)); }; populate_derived(); } // Function implementations for IfcEventType ::Ifc4x3_add2::IfcEventTypeEnum::Value Ifc4x3_add2::IfcEventType::PredefinedType() const { return ::Ifc4x3_add2::IfcEventTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -10856,7 +10856,7 @@ void Ifc4x3_add2::IfcEventType::setUserDefinedEventTriggerType(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcEventType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[419]); } const IfcParse::entity& Ifc4x3_add2::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[419]); } Ifc4x3_add2::IfcEventType::IfcEventType(IfcEntityInstanceData&& e) : IfcTypeProcess(std::move(e)) { } -Ifc4x3_add2::IfcEventType::IfcEventType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, boost::optional< std::string > v12_UserDefinedEventTriggerType) : IfcTypeProcess(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +Ifc4x3_add2::IfcEventType::IfcEventType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, boost::optional< std::string > v12_UserDefinedEventTriggerType) : IfcTypeProcess(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); }; populate_derived(); } // Function implementations for IfcExtendedProperties boost::optional< std::string > Ifc4x3_add2::IfcExtendedProperties::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -10870,7 +10870,7 @@ void Ifc4x3_add2::IfcExtendedProperties::setProperties(aggregate_of< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcExtendedProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[421]); } const IfcParse::entity& Ifc4x3_add2::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[421]); } Ifc4x3_add2::IfcExtendedProperties::IfcExtendedProperties(IfcEntityInstanceData&& e) : IfcPropertyAbstraction(std::move(e)) { } -Ifc4x3_add2::IfcExtendedProperties::IfcExtendedProperties(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v3_Properties) : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Properties)->generalize()); } +Ifc4x3_add2::IfcExtendedProperties::IfcExtendedProperties(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v3_Properties) : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Properties)->generalize());; populate_derived(); } // Function implementations for IfcExternalInformation @@ -10878,7 +10878,7 @@ Ifc4x3_add2::IfcExtendedProperties::IfcExtendedProperties(boost::optional< std:: const IfcParse::entity& Ifc4x3_add2::IfcExternalInformation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[422]); } const IfcParse::entity& Ifc4x3_add2::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[422]); } Ifc4x3_add2::IfcExternalInformation::IfcExternalInformation(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcExternalInformation::IfcExternalInformation() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcExternalInformation::IfcExternalInformation() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcExternalReference boost::optional< std::string > Ifc4x3_add2::IfcExternalReference::Location() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -10893,7 +10893,7 @@ void Ifc4x3_add2::IfcExternalReference::setName(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcExternalReference::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[426]); } const IfcParse::entity& Ifc4x3_add2::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[426]); } Ifc4x3_add2::IfcExternalReference::IfcExternalReference(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcExternalReference::IfcExternalReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } +Ifc4x3_add2::IfcExternalReference::IfcExternalReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; populate_derived(); } // Function implementations for IfcExternalReferenceRelationship ::Ifc4x3_add2::IfcExternalReference* Ifc4x3_add2::IfcExternalReferenceRelationship::RelatingReference() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcExternalReference>(true); } @@ -10905,7 +10905,7 @@ void Ifc4x3_add2::IfcExternalReferenceRelationship::setRelatedResourceObjects(ag const IfcParse::entity& Ifc4x3_add2::IfcExternalReferenceRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[427]); } const IfcParse::entity& Ifc4x3_add2::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[427]); } Ifc4x3_add2::IfcExternalReferenceRelationship::IfcExternalReferenceRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcExternalReferenceRelationship::IfcExternalReferenceRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcExternalReference* v3_RelatingReference, aggregate_of< ::Ifc4x3_add2::IfcResourceObjectSelect >::ptr v4_RelatedResourceObjects) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingReference ? v3_RelatingReference->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedResourceObjects)->generalize()); } +Ifc4x3_add2::IfcExternalReferenceRelationship::IfcExternalReferenceRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcExternalReference* v3_RelatingReference, aggregate_of< ::Ifc4x3_add2::IfcResourceObjectSelect >::ptr v4_RelatedResourceObjects) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingReference ? v3_RelatingReference->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedResourceObjects)->generalize());; populate_derived(); } // Function implementations for IfcExternalSpatialElement boost::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_add2::IfcExternalSpatialElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -10916,7 +10916,7 @@ void Ifc4x3_add2::IfcExternalSpatialElement::setPredefinedType(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcExternalSpatialElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[428]); } const IfcParse::entity& Ifc4x3_add2::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[428]); } Ifc4x3_add2::IfcExternalSpatialElement::IfcExternalSpatialElement(IfcEntityInstanceData&& e) : IfcExternalSpatialStructureElement(std::move(e)) { } -Ifc4x3_add2::IfcExternalSpatialElement::IfcExternalSpatialElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) : IfcExternalSpatialStructureElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcExternalSpatialElement::IfcExternalSpatialElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) : IfcExternalSpatialStructureElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcExternalSpatialStructureElement @@ -10924,7 +10924,7 @@ Ifc4x3_add2::IfcExternalSpatialElement::IfcExternalSpatialElement(std::string v1 const IfcParse::entity& Ifc4x3_add2::IfcExternalSpatialStructureElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[430]); } const IfcParse::entity& Ifc4x3_add2::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[430]); } Ifc4x3_add2::IfcExternalSpatialStructureElement::IfcExternalSpatialStructureElement(IfcEntityInstanceData&& e) : IfcSpatialElement(std::move(e)) { } -Ifc4x3_add2::IfcExternalSpatialStructureElement::IfcExternalSpatialStructureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName) : IfcSpatialElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } +Ifc4x3_add2::IfcExternalSpatialStructureElement::IfcExternalSpatialStructureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName) : IfcSpatialElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }; populate_derived(); } // Function implementations for IfcExternallyDefinedHatchStyle @@ -10932,7 +10932,7 @@ Ifc4x3_add2::IfcExternalSpatialStructureElement::IfcExternalSpatialStructureElem const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedHatchStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[423]); } const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[423]); } Ifc4x3_add2::IfcExternallyDefinedHatchStyle::IfcExternallyDefinedHatchStyle(IfcEntityInstanceData&& e) : IfcExternalReference(std::move(e)) { } -Ifc4x3_add2::IfcExternallyDefinedHatchStyle::IfcExternallyDefinedHatchStyle(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcExternalReference(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } +Ifc4x3_add2::IfcExternallyDefinedHatchStyle::IfcExternallyDefinedHatchStyle(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcExternalReference(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; populate_derived(); } // Function implementations for IfcExternallyDefinedSurfaceStyle @@ -10940,7 +10940,7 @@ Ifc4x3_add2::IfcExternallyDefinedHatchStyle::IfcExternallyDefinedHatchStyle(boos const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[424]); } const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[424]); } Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::IfcExternallyDefinedSurfaceStyle(IfcEntityInstanceData&& e) : IfcExternalReference(std::move(e)) { } -Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::IfcExternallyDefinedSurfaceStyle(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcExternalReference(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } +Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::IfcExternallyDefinedSurfaceStyle(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcExternalReference(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; populate_derived(); } // Function implementations for IfcExternallyDefinedTextFont @@ -10948,7 +10948,7 @@ Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::IfcExternallyDefinedSurfaceStyle( const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedTextFont::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[425]); } const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[425]); } Ifc4x3_add2::IfcExternallyDefinedTextFont::IfcExternallyDefinedTextFont(IfcEntityInstanceData&& e) : IfcExternalReference(std::move(e)) { } -Ifc4x3_add2::IfcExternallyDefinedTextFont::IfcExternallyDefinedTextFont(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcExternalReference(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } +Ifc4x3_add2::IfcExternallyDefinedTextFont::IfcExternallyDefinedTextFont(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name) : IfcExternalReference(IfcEntityInstanceData(storage_t(3))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; populate_derived(); } // Function implementations for IfcExtrudedAreaSolid ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcExtrudedAreaSolid::ExtrudedDirection() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -10960,7 +10960,7 @@ void Ifc4x3_add2::IfcExtrudedAreaSolid::setDepth(double v) { set_attribute_value const IfcParse::entity& Ifc4x3_add2::IfcExtrudedAreaSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[431]); } const IfcParse::entity& Ifc4x3_add2::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[431]); } Ifc4x3_add2::IfcExtrudedAreaSolid::IfcExtrudedAreaSolid(IfcEntityInstanceData&& e) : IfcSweptAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcExtrudedAreaSolid::IfcExtrudedAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcDirection* v3_ExtrudedDirection, double v4_Depth) : IfcSweptAreaSolid(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ExtrudedDirection ? v3_ExtrudedDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth)); } +Ifc4x3_add2::IfcExtrudedAreaSolid::IfcExtrudedAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcDirection* v3_ExtrudedDirection, double v4_Depth) : IfcSweptAreaSolid(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ExtrudedDirection ? v3_ExtrudedDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));; populate_derived(); } // Function implementations for IfcExtrudedAreaSolidTapered ::Ifc4x3_add2::IfcProfileDef* Ifc4x3_add2::IfcExtrudedAreaSolidTapered::EndSweptArea() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcProfileDef>(true); } @@ -10970,7 +10970,7 @@ void Ifc4x3_add2::IfcExtrudedAreaSolidTapered::setEndSweptArea(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcExtrudedAreaSolidTapered::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[432]); } const IfcParse::entity& Ifc4x3_add2::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[432]); } Ifc4x3_add2::IfcExtrudedAreaSolidTapered::IfcExtrudedAreaSolidTapered(IfcEntityInstanceData&& e) : IfcExtrudedAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcExtrudedAreaSolidTapered::IfcExtrudedAreaSolidTapered(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcDirection* v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_add2::IfcProfileDef* v5_EndSweptArea) : IfcExtrudedAreaSolid(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ExtrudedDirection ? v3_ExtrudedDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, v5_EndSweptArea ? v5_EndSweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcExtrudedAreaSolidTapered::IfcExtrudedAreaSolidTapered(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcDirection* v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_add2::IfcProfileDef* v5_EndSweptArea) : IfcExtrudedAreaSolid(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ExtrudedDirection ? v3_ExtrudedDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, v5_EndSweptArea ? v5_EndSweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcFace aggregate_of< ::Ifc4x3_add2::IfcFaceBound >::ptr Ifc4x3_add2::IfcFace::Bounds() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcFaceBound >(); } @@ -10981,7 +10981,7 @@ void Ifc4x3_add2::IfcFace::setBounds(aggregate_of< ::Ifc4x3_add2::IfcFaceBound > const IfcParse::entity& Ifc4x3_add2::IfcFace::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[433]); } const IfcParse::entity& Ifc4x3_add2::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[433]); } Ifc4x3_add2::IfcFace::IfcFace(IfcEntityInstanceData&& e) : IfcTopologicalRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcFace::IfcFace(aggregate_of< ::Ifc4x3_add2::IfcFaceBound >::ptr v1_Bounds) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Bounds)->generalize()); } +Ifc4x3_add2::IfcFace::IfcFace(aggregate_of< ::Ifc4x3_add2::IfcFaceBound >::ptr v1_Bounds) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Bounds)->generalize());; populate_derived(); } // Function implementations for IfcFaceBasedSurfaceModel aggregate_of< ::Ifc4x3_add2::IfcConnectedFaceSet >::ptr Ifc4x3_add2::IfcFaceBasedSurfaceModel::FbsmFaces() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcConnectedFaceSet >(); } @@ -10991,7 +10991,7 @@ void Ifc4x3_add2::IfcFaceBasedSurfaceModel::setFbsmFaces(aggregate_of< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcFaceBasedSurfaceModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[434]); } const IfcParse::entity& Ifc4x3_add2::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[434]); } Ifc4x3_add2::IfcFaceBasedSurfaceModel::IfcFaceBasedSurfaceModel(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcFaceBasedSurfaceModel::IfcFaceBasedSurfaceModel(aggregate_of< ::Ifc4x3_add2::IfcConnectedFaceSet >::ptr v1_FbsmFaces) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_FbsmFaces)->generalize()); } +Ifc4x3_add2::IfcFaceBasedSurfaceModel::IfcFaceBasedSurfaceModel(aggregate_of< ::Ifc4x3_add2::IfcConnectedFaceSet >::ptr v1_FbsmFaces) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_FbsmFaces)->generalize());; populate_derived(); } // Function implementations for IfcFaceBound ::Ifc4x3_add2::IfcLoop* Ifc4x3_add2::IfcFaceBound::Bound() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcLoop>(true); } @@ -11003,7 +11003,7 @@ void Ifc4x3_add2::IfcFaceBound::setOrientation(bool v) { set_attribute_value(1, const IfcParse::entity& Ifc4x3_add2::IfcFaceBound::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[435]); } const IfcParse::entity& Ifc4x3_add2::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[435]); } Ifc4x3_add2::IfcFaceBound::IfcFaceBound(IfcEntityInstanceData&& e) : IfcTopologicalRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcFaceBound::IfcFaceBound(::Ifc4x3_add2::IfcLoop* v1_Bound, bool v2_Orientation) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Bound ? v1_Bound->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Orientation)); } +Ifc4x3_add2::IfcFaceBound::IfcFaceBound(::Ifc4x3_add2::IfcLoop* v1_Bound, bool v2_Orientation) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Bound ? v1_Bound->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Orientation));; populate_derived(); } // Function implementations for IfcFaceOuterBound @@ -11011,7 +11011,7 @@ Ifc4x3_add2::IfcFaceBound::IfcFaceBound(::Ifc4x3_add2::IfcLoop* v1_Bound, bool v const IfcParse::entity& Ifc4x3_add2::IfcFaceOuterBound::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[436]); } const IfcParse::entity& Ifc4x3_add2::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[436]); } Ifc4x3_add2::IfcFaceOuterBound::IfcFaceOuterBound(IfcEntityInstanceData&& e) : IfcFaceBound(std::move(e)) { } -Ifc4x3_add2::IfcFaceOuterBound::IfcFaceOuterBound(::Ifc4x3_add2::IfcLoop* v1_Bound, bool v2_Orientation) : IfcFaceBound(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Bound ? v1_Bound->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Orientation)); } +Ifc4x3_add2::IfcFaceOuterBound::IfcFaceOuterBound(::Ifc4x3_add2::IfcLoop* v1_Bound, bool v2_Orientation) : IfcFaceBound(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Bound ? v1_Bound->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Orientation));; populate_derived(); } // Function implementations for IfcFaceSurface ::Ifc4x3_add2::IfcSurface* Ifc4x3_add2::IfcFaceSurface::FaceSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcSurface>(true); } @@ -11023,7 +11023,7 @@ void Ifc4x3_add2::IfcFaceSurface::setSameSense(bool v) { set_attribute_value(2, const IfcParse::entity& Ifc4x3_add2::IfcFaceSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[437]); } const IfcParse::entity& Ifc4x3_add2::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[437]); } Ifc4x3_add2::IfcFaceSurface::IfcFaceSurface(IfcEntityInstanceData&& e) : IfcFace(std::move(e)) { } -Ifc4x3_add2::IfcFaceSurface::IfcFaceSurface(aggregate_of< ::Ifc4x3_add2::IfcFaceBound >::ptr v1_Bounds, ::Ifc4x3_add2::IfcSurface* v2_FaceSurface, bool v3_SameSense) : IfcFace(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Bounds)->generalize());set_attribute_value(1, v2_FaceSurface ? v2_FaceSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_SameSense)); } +Ifc4x3_add2::IfcFaceSurface::IfcFaceSurface(aggregate_of< ::Ifc4x3_add2::IfcFaceBound >::ptr v1_Bounds, ::Ifc4x3_add2::IfcSurface* v2_FaceSurface, bool v3_SameSense) : IfcFace(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Bounds)->generalize());set_attribute_value(1, v2_FaceSurface ? v2_FaceSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_SameSense));; populate_derived(); } // Function implementations for IfcFacetedBrep @@ -11031,7 +11031,7 @@ Ifc4x3_add2::IfcFaceSurface::IfcFaceSurface(aggregate_of< ::Ifc4x3_add2::IfcFace const IfcParse::entity& Ifc4x3_add2::IfcFacetedBrep::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[438]); } const IfcParse::entity& Ifc4x3_add2::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[438]); } Ifc4x3_add2::IfcFacetedBrep::IfcFacetedBrep(IfcEntityInstanceData&& e) : IfcManifoldSolidBrep(std::move(e)) { } -Ifc4x3_add2::IfcFacetedBrep::IfcFacetedBrep(::Ifc4x3_add2::IfcClosedShell* v1_Outer) : IfcManifoldSolidBrep(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcFacetedBrep::IfcFacetedBrep(::Ifc4x3_add2::IfcClosedShell* v1_Outer) : IfcManifoldSolidBrep(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcFacetedBrepWithVoids aggregate_of< ::Ifc4x3_add2::IfcClosedShell >::ptr Ifc4x3_add2::IfcFacetedBrepWithVoids::Voids() const { aggregate_of_instance::ptr es = data_.get_attribute_value(1); return es->as< ::Ifc4x3_add2::IfcClosedShell >(); } @@ -11041,7 +11041,7 @@ void Ifc4x3_add2::IfcFacetedBrepWithVoids::setVoids(aggregate_of< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcFacetedBrepWithVoids::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[439]); } const IfcParse::entity& Ifc4x3_add2::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[439]); } Ifc4x3_add2::IfcFacetedBrepWithVoids::IfcFacetedBrepWithVoids(IfcEntityInstanceData&& e) : IfcFacetedBrep(std::move(e)) { } -Ifc4x3_add2::IfcFacetedBrepWithVoids::IfcFacetedBrepWithVoids(::Ifc4x3_add2::IfcClosedShell* v1_Outer, aggregate_of< ::Ifc4x3_add2::IfcClosedShell >::ptr v2_Voids) : IfcFacetedBrep(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Voids)->generalize()); } +Ifc4x3_add2::IfcFacetedBrepWithVoids::IfcFacetedBrepWithVoids(::Ifc4x3_add2::IfcClosedShell* v1_Outer, aggregate_of< ::Ifc4x3_add2::IfcClosedShell >::ptr v2_Voids) : IfcFacetedBrep(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Voids)->generalize());; populate_derived(); } // Function implementations for IfcFacility @@ -11049,7 +11049,7 @@ Ifc4x3_add2::IfcFacetedBrepWithVoids::IfcFacetedBrepWithVoids(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcFacility::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[440]); } const IfcParse::entity& Ifc4x3_add2::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[440]); } Ifc4x3_add2::IfcFacility::IfcFacility(IfcEntityInstanceData&& e) : IfcSpatialStructureElement(std::move(e)) { } -Ifc4x3_add2::IfcFacility::IfcFacility(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +Ifc4x3_add2::IfcFacility::IfcFacility(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }; populate_derived(); } // Function implementations for IfcFacilityPart ::Ifc4x3_add2::IfcFacilityUsageEnum::Value Ifc4x3_add2::IfcFacilityPart::UsageType() const { return ::Ifc4x3_add2::IfcFacilityUsageEnum::FromString(data_.get_attribute_value(9)); } @@ -11059,7 +11059,7 @@ void Ifc4x3_add2::IfcFacilityPart::setUsageType(::Ifc4x3_add2::IfcFacilityUsageE const IfcParse::entity& Ifc4x3_add2::IfcFacilityPart::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[441]); } const IfcParse::entity& Ifc4x3_add2::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[441]); } Ifc4x3_add2::IfcFacilityPart::IfcFacilityPart(IfcEntityInstanceData&& e) : IfcSpatialStructureElement(std::move(e)) { } -Ifc4x3_add2::IfcFacilityPart::IfcFacilityPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } +Ifc4x3_add2::IfcFacilityPart::IfcFacilityPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType)));; populate_derived(); } // Function implementations for IfcFacilityPartCommon boost::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > Ifc4x3_add2::IfcFacilityPartCommon::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -11069,7 +11069,7 @@ void Ifc4x3_add2::IfcFacilityPartCommon::setPredefinedType(boost::optional< ::If const IfcParse::entity& Ifc4x3_add2::IfcFacilityPartCommon::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[442]); } const IfcParse::entity& Ifc4x3_add2::IfcFacilityPartCommon::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[442]); } Ifc4x3_add2::IfcFacilityPartCommon::IfcFacilityPartCommon(IfcEntityInstanceData&& e) : IfcFacilityPart(std::move(e)) { } -Ifc4x3_add2::IfcFacilityPartCommon::IfcFacilityPartCommon(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcFacilityPartCommon::IfcFacilityPartCommon(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFailureConnectionCondition boost::optional< double > Ifc4x3_add2::IfcFailureConnectionCondition::TensionFailureX() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } double v = data_.get_attribute_value(1); return v; } @@ -11089,7 +11089,7 @@ void Ifc4x3_add2::IfcFailureConnectionCondition::setCompressionFailureZ(boost::o const IfcParse::entity& Ifc4x3_add2::IfcFailureConnectionCondition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[445]); } const IfcParse::entity& Ifc4x3_add2::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[445]); } Ifc4x3_add2::IfcFailureConnectionCondition::IfcFailureConnectionCondition(IfcEntityInstanceData&& e) : IfcStructuralConnectionCondition(std::move(e)) { } -Ifc4x3_add2::IfcFailureConnectionCondition::IfcFailureConnectionCondition(boost::optional< std::string > v1_Name, boost::optional< double > v2_TensionFailureX, boost::optional< double > v3_TensionFailureY, boost::optional< double > v4_TensionFailureZ, boost::optional< double > v5_CompressionFailureX, boost::optional< double > v6_CompressionFailureY, boost::optional< double > v7_CompressionFailureZ) : IfcStructuralConnectionCondition(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_TensionFailureX) {set_attribute_value(1, (*v2_TensionFailureX)); } if (v3_TensionFailureY) {set_attribute_value(2, (*v3_TensionFailureY)); } if (v4_TensionFailureZ) {set_attribute_value(3, (*v4_TensionFailureZ)); } if (v5_CompressionFailureX) {set_attribute_value(4, (*v5_CompressionFailureX)); } if (v6_CompressionFailureY) {set_attribute_value(5, (*v6_CompressionFailureY)); } if (v7_CompressionFailureZ) {set_attribute_value(6, (*v7_CompressionFailureZ)); } } +Ifc4x3_add2::IfcFailureConnectionCondition::IfcFailureConnectionCondition(boost::optional< std::string > v1_Name, boost::optional< double > v2_TensionFailureX, boost::optional< double > v3_TensionFailureY, boost::optional< double > v4_TensionFailureZ, boost::optional< double > v5_CompressionFailureX, boost::optional< double > v6_CompressionFailureY, boost::optional< double > v7_CompressionFailureZ) : IfcStructuralConnectionCondition(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_TensionFailureX) {set_attribute_value(1, (*v2_TensionFailureX)); } if (v3_TensionFailureY) {set_attribute_value(2, (*v3_TensionFailureY)); } if (v4_TensionFailureZ) {set_attribute_value(3, (*v4_TensionFailureZ)); } if (v5_CompressionFailureX) {set_attribute_value(4, (*v5_CompressionFailureX)); } if (v6_CompressionFailureY) {set_attribute_value(5, (*v6_CompressionFailureY)); } if (v7_CompressionFailureZ) {set_attribute_value(6, (*v7_CompressionFailureZ)); }; populate_derived(); } // Function implementations for IfcFan boost::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > Ifc4x3_add2::IfcFan::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFanTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11099,7 +11099,7 @@ void Ifc4x3_add2::IfcFan::setPredefinedType(boost::optional< ::Ifc4x3_add2::IfcF const IfcParse::entity& Ifc4x3_add2::IfcFan::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[446]); } const IfcParse::entity& Ifc4x3_add2::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[446]); } Ifc4x3_add2::IfcFan::IfcFan(IfcEntityInstanceData&& e) : IfcFlowMovingDevice(std::move(e)) { } -Ifc4x3_add2::IfcFan::IfcFan(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > v9_PredefinedType) : IfcFlowMovingDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFan::IfcFan(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > v9_PredefinedType) : IfcFlowMovingDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFanType ::Ifc4x3_add2::IfcFanTypeEnum::Value Ifc4x3_add2::IfcFanType::PredefinedType() const { return ::Ifc4x3_add2::IfcFanTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11109,7 +11109,7 @@ void Ifc4x3_add2::IfcFanType::setPredefinedType(::Ifc4x3_add2::IfcFanTypeEnum::V const IfcParse::entity& Ifc4x3_add2::IfcFanType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[447]); } const IfcParse::entity& Ifc4x3_add2::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[447]); } Ifc4x3_add2::IfcFanType::IfcFanType(IfcEntityInstanceData&& e) : IfcFlowMovingDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcFanType::IfcFanType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFanTypeEnum::Value v10_PredefinedType) : IfcFlowMovingDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcFanType::IfcFanType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFanTypeEnum::Value v10_PredefinedType) : IfcFlowMovingDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcFastener boost::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > Ifc4x3_add2::IfcFastener::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFastenerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11119,7 +11119,7 @@ void Ifc4x3_add2::IfcFastener::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcFastener::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[449]); } const IfcParse::entity& Ifc4x3_add2::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[449]); } Ifc4x3_add2::IfcFastener::IfcFastener(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcFastener::IfcFastener(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFastener::IfcFastener(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFastenerType ::Ifc4x3_add2::IfcFastenerTypeEnum::Value Ifc4x3_add2::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_add2::IfcFastenerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11129,7 +11129,7 @@ void Ifc4x3_add2::IfcFastenerType::setPredefinedType(::Ifc4x3_add2::IfcFastenerT const IfcParse::entity& Ifc4x3_add2::IfcFastenerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[450]); } const IfcParse::entity& Ifc4x3_add2::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[450]); } Ifc4x3_add2::IfcFastenerType::IfcFastenerType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcFastenerType::IfcFastenerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFastenerTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcFastenerType::IfcFastenerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFastenerTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcFeatureElement @@ -11137,7 +11137,7 @@ Ifc4x3_add2::IfcFastenerType::IfcFastenerType(std::string v1_GlobalId, ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcFeatureElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[452]); } const IfcParse::entity& Ifc4x3_add2::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[452]); } Ifc4x3_add2::IfcFeatureElement::IfcFeatureElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcFeatureElement::IfcFeatureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFeatureElement::IfcFeatureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFeatureElementAddition @@ -11146,7 +11146,7 @@ Ifc4x3_add2::IfcFeatureElement::IfcFeatureElement(std::string v1_GlobalId, ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcFeatureElementAddition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[453]); } const IfcParse::entity& Ifc4x3_add2::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[453]); } Ifc4x3_add2::IfcFeatureElementAddition::IfcFeatureElementAddition(IfcEntityInstanceData&& e) : IfcFeatureElement(std::move(e)) { } -Ifc4x3_add2::IfcFeatureElementAddition::IfcFeatureElementAddition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcFeatureElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFeatureElementAddition::IfcFeatureElementAddition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcFeatureElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFeatureElementSubtraction @@ -11155,7 +11155,7 @@ Ifc4x3_add2::IfcFeatureElementAddition::IfcFeatureElementAddition(std::string v1 const IfcParse::entity& Ifc4x3_add2::IfcFeatureElementSubtraction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[454]); } const IfcParse::entity& Ifc4x3_add2::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[454]); } Ifc4x3_add2::IfcFeatureElementSubtraction::IfcFeatureElementSubtraction(IfcEntityInstanceData&& e) : IfcFeatureElement(std::move(e)) { } -Ifc4x3_add2::IfcFeatureElementSubtraction::IfcFeatureElementSubtraction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcFeatureElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFeatureElementSubtraction::IfcFeatureElementSubtraction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcFeatureElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFillAreaStyle aggregate_of< ::Ifc4x3_add2::IfcFillStyleSelect >::ptr Ifc4x3_add2::IfcFillAreaStyle::FillStyles() const { aggregate_of_instance::ptr es = data_.get_attribute_value(1); return es->as< ::Ifc4x3_add2::IfcFillStyleSelect >(); } @@ -11167,7 +11167,7 @@ void Ifc4x3_add2::IfcFillAreaStyle::setModelOrDraughting(boost::optional< bool > const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[455]); } const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[455]); } Ifc4x3_add2::IfcFillAreaStyle::IfcFillAreaStyle(IfcEntityInstanceData&& e) : IfcPresentationStyle(std::move(e)) { } -Ifc4x3_add2::IfcFillAreaStyle::IfcFillAreaStyle(boost::optional< std::string > v1_Name, aggregate_of< ::Ifc4x3_add2::IfcFillStyleSelect >::ptr v2_FillStyles, boost::optional< bool > v3_ModelOrDraughting) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_FillStyles)->generalize()); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } +Ifc4x3_add2::IfcFillAreaStyle::IfcFillAreaStyle(boost::optional< std::string > v1_Name, aggregate_of< ::Ifc4x3_add2::IfcFillStyleSelect >::ptr v2_FillStyles, boost::optional< bool > v3_ModelOrDraughting) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_FillStyles)->generalize()); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); }; populate_derived(); } // Function implementations for IfcFillAreaStyleHatching ::Ifc4x3_add2::IfcCurveStyle* Ifc4x3_add2::IfcFillAreaStyleHatching::HatchLineAppearance() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurveStyle>(true); } @@ -11185,7 +11185,7 @@ void Ifc4x3_add2::IfcFillAreaStyleHatching::setHatchLineAngle(double v) { set_at const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyleHatching::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[456]); } const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[456]); } Ifc4x3_add2::IfcFillAreaStyleHatching::IfcFillAreaStyleHatching(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcFillAreaStyleHatching::IfcFillAreaStyleHatching(::Ifc4x3_add2::IfcCurveStyle* v1_HatchLineAppearance, ::Ifc4x3_add2::IfcHatchLineDistanceSelect* v2_StartOfNextHatchLine, ::Ifc4x3_add2::IfcCartesianPoint* v3_PointOfReferenceHatchLine, ::Ifc4x3_add2::IfcCartesianPoint* v4_PatternStart, double v5_HatchLineAngle) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_HatchLineAppearance ? v1_HatchLineAppearance->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_StartOfNextHatchLine ? v2_StartOfNextHatchLine->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_PointOfReferenceHatchLine ? v3_PointOfReferenceHatchLine->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_PatternStart ? v4_PatternStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_HatchLineAngle)); } +Ifc4x3_add2::IfcFillAreaStyleHatching::IfcFillAreaStyleHatching(::Ifc4x3_add2::IfcCurveStyle* v1_HatchLineAppearance, ::Ifc4x3_add2::IfcHatchLineDistanceSelect* v2_StartOfNextHatchLine, ::Ifc4x3_add2::IfcCartesianPoint* v3_PointOfReferenceHatchLine, ::Ifc4x3_add2::IfcCartesianPoint* v4_PatternStart, double v5_HatchLineAngle) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_HatchLineAppearance ? v1_HatchLineAppearance->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_StartOfNextHatchLine ? v2_StartOfNextHatchLine->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_PointOfReferenceHatchLine ? v3_PointOfReferenceHatchLine->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_PatternStart ? v4_PatternStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_HatchLineAngle));; populate_derived(); } // Function implementations for IfcFillAreaStyleTiles aggregate_of< ::Ifc4x3_add2::IfcVector >::ptr Ifc4x3_add2::IfcFillAreaStyleTiles::TilingPattern() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcVector >(); } @@ -11199,7 +11199,7 @@ void Ifc4x3_add2::IfcFillAreaStyleTiles::setTilingScale(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyleTiles::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[457]); } const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[457]); } Ifc4x3_add2::IfcFillAreaStyleTiles::IfcFillAreaStyleTiles(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcFillAreaStyleTiles::IfcFillAreaStyleTiles(aggregate_of< ::Ifc4x3_add2::IfcVector >::ptr v1_TilingPattern, aggregate_of< ::Ifc4x3_add2::IfcStyledItem >::ptr v2_Tiles, double v3_TilingScale) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_TilingPattern)->generalize());set_attribute_value(1, (v2_Tiles)->generalize());set_attribute_value(2, (v3_TilingScale)); } +Ifc4x3_add2::IfcFillAreaStyleTiles::IfcFillAreaStyleTiles(aggregate_of< ::Ifc4x3_add2::IfcVector >::ptr v1_TilingPattern, aggregate_of< ::Ifc4x3_add2::IfcStyledItem >::ptr v2_Tiles, double v3_TilingScale) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_TilingPattern)->generalize());set_attribute_value(1, (v2_Tiles)->generalize());set_attribute_value(2, (v3_TilingScale));; populate_derived(); } // Function implementations for IfcFilter boost::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > Ifc4x3_add2::IfcFilter::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFilterTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11209,7 +11209,7 @@ void Ifc4x3_add2::IfcFilter::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcFilter::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[459]); } const IfcParse::entity& Ifc4x3_add2::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[459]); } Ifc4x3_add2::IfcFilter::IfcFilter(IfcEntityInstanceData&& e) : IfcFlowTreatmentDevice(std::move(e)) { } -Ifc4x3_add2::IfcFilter::IfcFilter(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFilter::IfcFilter(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFilterType ::Ifc4x3_add2::IfcFilterTypeEnum::Value Ifc4x3_add2::IfcFilterType::PredefinedType() const { return ::Ifc4x3_add2::IfcFilterTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11219,7 +11219,7 @@ void Ifc4x3_add2::IfcFilterType::setPredefinedType(::Ifc4x3_add2::IfcFilterTypeE const IfcParse::entity& Ifc4x3_add2::IfcFilterType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[460]); } const IfcParse::entity& Ifc4x3_add2::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[460]); } Ifc4x3_add2::IfcFilterType::IfcFilterType(IfcEntityInstanceData&& e) : IfcFlowTreatmentDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcFilterType::IfcFilterType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFilterTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcFilterType::IfcFilterType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFilterTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcFireSuppressionTerminal boost::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_add2::IfcFireSuppressionTerminal::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11229,7 +11229,7 @@ void Ifc4x3_add2::IfcFireSuppressionTerminal::setPredefinedType(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcFireSuppressionTerminal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[462]); } const IfcParse::entity& Ifc4x3_add2::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[462]); } Ifc4x3_add2::IfcFireSuppressionTerminal::IfcFireSuppressionTerminal(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcFireSuppressionTerminal::IfcFireSuppressionTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFireSuppressionTerminal::IfcFireSuppressionTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_add2::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11239,7 +11239,7 @@ void Ifc4x3_add2::IfcFireSuppressionTerminalType::setPredefinedType(::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcFireSuppressionTerminalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[463]); } const IfcParse::entity& Ifc4x3_add2::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[463]); } Ifc4x3_add2::IfcFireSuppressionTerminalType::IfcFireSuppressionTerminalType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcFireSuppressionTerminalType::IfcFireSuppressionTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcFireSuppressionTerminalType::IfcFireSuppressionTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -11249,7 +11249,7 @@ void Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::setFixedReference(::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[465]); } const IfcParse::entity& Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[465]); } Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::IfcFixedReferenceSweptAreaSolid(IfcEntityInstanceData&& e) : IfcDirectrixCurveSweptAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::IfcFixedReferenceSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam, ::Ifc4x3_add2::IfcDirection* v6_FixedReference) : IfcDirectrixCurveSweptAreaSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_FixedReference ? v6_FixedReference->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::IfcFixedReferenceSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam, ::Ifc4x3_add2::IfcDirection* v6_FixedReference) : IfcDirectrixCurveSweptAreaSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_FixedReference ? v6_FixedReference->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcFlowController @@ -11257,7 +11257,7 @@ Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::IfcFixedReferenceSweptAreaSolid(:: const IfcParse::entity& Ifc4x3_add2::IfcFlowController::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[466]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[466]); } Ifc4x3_add2::IfcFlowController::IfcFlowController(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowController::IfcFlowController(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFlowController::IfcFlowController(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFlowControllerType @@ -11265,7 +11265,7 @@ Ifc4x3_add2::IfcFlowController::IfcFlowController(std::string v1_GlobalId, ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcFlowControllerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[467]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[467]); } Ifc4x3_add2::IfcFlowControllerType::IfcFlowControllerType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowControllerType::IfcFlowControllerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFlowControllerType::IfcFlowControllerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFlowFitting @@ -11273,7 +11273,7 @@ Ifc4x3_add2::IfcFlowControllerType::IfcFlowControllerType(std::string v1_GlobalI const IfcParse::entity& Ifc4x3_add2::IfcFlowFitting::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[469]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[469]); } Ifc4x3_add2::IfcFlowFitting::IfcFlowFitting(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowFitting::IfcFlowFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFlowFitting::IfcFlowFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFlowFittingType @@ -11281,7 +11281,7 @@ Ifc4x3_add2::IfcFlowFitting::IfcFlowFitting(std::string v1_GlobalId, ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcFlowFittingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[470]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[470]); } Ifc4x3_add2::IfcFlowFittingType::IfcFlowFittingType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowFittingType::IfcFlowFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFlowFittingType::IfcFlowFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFlowInstrument boost::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_add2::IfcFlowInstrument::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11291,7 +11291,7 @@ void Ifc4x3_add2::IfcFlowInstrument::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcFlowInstrument::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[471]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[471]); } Ifc4x3_add2::IfcFlowInstrument::IfcFlowInstrument(IfcEntityInstanceData&& e) : IfcDistributionControlElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowInstrument::IfcFlowInstrument(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFlowInstrument::IfcFlowInstrument(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value Ifc4x3_add2::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11301,7 +11301,7 @@ void Ifc4x3_add2::IfcFlowInstrumentType::setPredefinedType(::Ifc4x3_add2::IfcFlo const IfcParse::entity& Ifc4x3_add2::IfcFlowInstrumentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[472]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[472]); } Ifc4x3_add2::IfcFlowInstrumentType::IfcFlowInstrumentType(IfcEntityInstanceData&& e) : IfcDistributionControlElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowInstrumentType::IfcFlowInstrumentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcFlowInstrumentType::IfcFlowInstrumentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcFlowMeter boost::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > Ifc4x3_add2::IfcFlowMeter::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFlowMeterTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11311,7 +11311,7 @@ void Ifc4x3_add2::IfcFlowMeter::setPredefinedType(boost::optional< ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcFlowMeter::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[474]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[474]); } Ifc4x3_add2::IfcFlowMeter::IfcFlowMeter(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcFlowMeter::IfcFlowMeter(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFlowMeter::IfcFlowMeter(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFlowMeterType ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value Ifc4x3_add2::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_add2::IfcFlowMeterTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11321,7 +11321,7 @@ void Ifc4x3_add2::IfcFlowMeterType::setPredefinedType(::Ifc4x3_add2::IfcFlowMete const IfcParse::entity& Ifc4x3_add2::IfcFlowMeterType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[475]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[475]); } Ifc4x3_add2::IfcFlowMeterType::IfcFlowMeterType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcFlowMeterType::IfcFlowMeterType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcFlowMeterType::IfcFlowMeterType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcFlowMovingDevice @@ -11329,7 +11329,7 @@ Ifc4x3_add2::IfcFlowMeterType::IfcFlowMeterType(std::string v1_GlobalId, ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcFlowMovingDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[477]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[477]); } Ifc4x3_add2::IfcFlowMovingDevice::IfcFlowMovingDevice(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowMovingDevice::IfcFlowMovingDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFlowMovingDevice::IfcFlowMovingDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFlowMovingDeviceType @@ -11337,7 +11337,7 @@ Ifc4x3_add2::IfcFlowMovingDevice::IfcFlowMovingDevice(std::string v1_GlobalId, : const IfcParse::entity& Ifc4x3_add2::IfcFlowMovingDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[478]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[478]); } Ifc4x3_add2::IfcFlowMovingDeviceType::IfcFlowMovingDeviceType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowMovingDeviceType::IfcFlowMovingDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFlowMovingDeviceType::IfcFlowMovingDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFlowSegment @@ -11345,7 +11345,7 @@ Ifc4x3_add2::IfcFlowMovingDeviceType::IfcFlowMovingDeviceType(std::string v1_Glo const IfcParse::entity& Ifc4x3_add2::IfcFlowSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[479]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[479]); } Ifc4x3_add2::IfcFlowSegment::IfcFlowSegment(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowSegment::IfcFlowSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFlowSegment::IfcFlowSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFlowSegmentType @@ -11353,7 +11353,7 @@ Ifc4x3_add2::IfcFlowSegment::IfcFlowSegment(std::string v1_GlobalId, ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcFlowSegmentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[480]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[480]); } Ifc4x3_add2::IfcFlowSegmentType::IfcFlowSegmentType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowSegmentType::IfcFlowSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFlowSegmentType::IfcFlowSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFlowStorageDevice @@ -11361,7 +11361,7 @@ Ifc4x3_add2::IfcFlowSegmentType::IfcFlowSegmentType(std::string v1_GlobalId, ::I const IfcParse::entity& Ifc4x3_add2::IfcFlowStorageDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[481]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[481]); } Ifc4x3_add2::IfcFlowStorageDevice::IfcFlowStorageDevice(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowStorageDevice::IfcFlowStorageDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFlowStorageDevice::IfcFlowStorageDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFlowStorageDeviceType @@ -11369,7 +11369,7 @@ Ifc4x3_add2::IfcFlowStorageDevice::IfcFlowStorageDevice(std::string v1_GlobalId, const IfcParse::entity& Ifc4x3_add2::IfcFlowStorageDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[482]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[482]); } Ifc4x3_add2::IfcFlowStorageDeviceType::IfcFlowStorageDeviceType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowStorageDeviceType::IfcFlowStorageDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFlowStorageDeviceType::IfcFlowStorageDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFlowTerminal @@ -11377,7 +11377,7 @@ Ifc4x3_add2::IfcFlowStorageDeviceType::IfcFlowStorageDeviceType(std::string v1_G const IfcParse::entity& Ifc4x3_add2::IfcFlowTerminal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[483]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[483]); } Ifc4x3_add2::IfcFlowTerminal::IfcFlowTerminal(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowTerminal::IfcFlowTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFlowTerminal::IfcFlowTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFlowTerminalType @@ -11385,7 +11385,7 @@ Ifc4x3_add2::IfcFlowTerminal::IfcFlowTerminal(std::string v1_GlobalId, ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcFlowTerminalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[484]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[484]); } Ifc4x3_add2::IfcFlowTerminalType::IfcFlowTerminalType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowTerminalType::IfcFlowTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFlowTerminalType::IfcFlowTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFlowTreatmentDevice @@ -11393,7 +11393,7 @@ Ifc4x3_add2::IfcFlowTerminalType::IfcFlowTerminalType(std::string v1_GlobalId, : const IfcParse::entity& Ifc4x3_add2::IfcFlowTreatmentDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[485]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[485]); } Ifc4x3_add2::IfcFlowTreatmentDevice::IfcFlowTreatmentDevice(IfcEntityInstanceData&& e) : IfcDistributionFlowElement(std::move(e)) { } -Ifc4x3_add2::IfcFlowTreatmentDevice::IfcFlowTreatmentDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFlowTreatmentDevice::IfcFlowTreatmentDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcDistributionFlowElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFlowTreatmentDeviceType @@ -11401,7 +11401,7 @@ Ifc4x3_add2::IfcFlowTreatmentDevice::IfcFlowTreatmentDevice(std::string v1_Globa const IfcParse::entity& Ifc4x3_add2::IfcFlowTreatmentDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[486]); } const IfcParse::entity& Ifc4x3_add2::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[486]); } Ifc4x3_add2::IfcFlowTreatmentDeviceType::IfcFlowTreatmentDeviceType(IfcEntityInstanceData&& e) : IfcDistributionFlowElementType(std::move(e)) { } -Ifc4x3_add2::IfcFlowTreatmentDeviceType::IfcFlowTreatmentDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFlowTreatmentDeviceType::IfcFlowTreatmentDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcDistributionFlowElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFooting boost::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > Ifc4x3_add2::IfcFooting::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFootingTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11411,7 +11411,7 @@ void Ifc4x3_add2::IfcFooting::setPredefinedType(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcFooting::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[490]); } const IfcParse::entity& Ifc4x3_add2::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[490]); } Ifc4x3_add2::IfcFooting::IfcFooting(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcFooting::IfcFooting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFooting::IfcFooting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFootingType ::Ifc4x3_add2::IfcFootingTypeEnum::Value Ifc4x3_add2::IfcFootingType::PredefinedType() const { return ::Ifc4x3_add2::IfcFootingTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11421,7 +11421,7 @@ void Ifc4x3_add2::IfcFootingType::setPredefinedType(::Ifc4x3_add2::IfcFootingTyp const IfcParse::entity& Ifc4x3_add2::IfcFootingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[491]); } const IfcParse::entity& Ifc4x3_add2::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[491]); } Ifc4x3_add2::IfcFootingType::IfcFootingType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcFootingType::IfcFootingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFootingTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcFootingType::IfcFootingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFootingTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcFurnishingElement @@ -11429,7 +11429,7 @@ Ifc4x3_add2::IfcFootingType::IfcFootingType(std::string v1_GlobalId, ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcFurnishingElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[495]); } const IfcParse::entity& Ifc4x3_add2::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[495]); } Ifc4x3_add2::IfcFurnishingElement::IfcFurnishingElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcFurnishingElement::IfcFurnishingElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcFurnishingElement::IfcFurnishingElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcFurnishingElementType @@ -11437,7 +11437,7 @@ Ifc4x3_add2::IfcFurnishingElement::IfcFurnishingElement(std::string v1_GlobalId, const IfcParse::entity& Ifc4x3_add2::IfcFurnishingElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[496]); } const IfcParse::entity& Ifc4x3_add2::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[496]); } Ifc4x3_add2::IfcFurnishingElementType::IfcFurnishingElementType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcFurnishingElementType::IfcFurnishingElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcFurnishingElementType::IfcFurnishingElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcFurniture boost::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > Ifc4x3_add2::IfcFurniture::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcFurnitureTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11447,7 +11447,7 @@ void Ifc4x3_add2::IfcFurniture::setPredefinedType(boost::optional< ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcFurniture::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[497]); } const IfcParse::entity& Ifc4x3_add2::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[497]); } Ifc4x3_add2::IfcFurniture::IfcFurniture(IfcEntityInstanceData&& e) : IfcFurnishingElement(std::move(e)) { } -Ifc4x3_add2::IfcFurniture::IfcFurniture(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) : IfcFurnishingElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcFurniture::IfcFurniture(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) : IfcFurnishingElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcFurnitureType ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value Ifc4x3_add2::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_add2::IfcAssemblyPlaceEnum::FromString(data_.get_attribute_value(9)); } @@ -11459,7 +11459,7 @@ void Ifc4x3_add2::IfcFurnitureType::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcFurnitureType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[498]); } const IfcParse::entity& Ifc4x3_add2::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[498]); } Ifc4x3_add2::IfcFurnitureType::IfcFurnitureType(IfcEntityInstanceData&& e) : IfcFurnishingElementType(std::move(e)) { } -Ifc4x3_add2::IfcFurnitureType::IfcFurnitureType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, boost::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) : IfcFurnishingElementType(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcFurnitureType::IfcFurnitureType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, boost::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) : IfcFurnishingElementType(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcGeographicCRS boost::optional< std::string > Ifc4x3_add2::IfcGeographicCRS::PrimeMeridian() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(3); return v; } @@ -11473,7 +11473,7 @@ void Ifc4x3_add2::IfcGeographicCRS::setHeightUnit(::Ifc4x3_add2::IfcNamedUnit* v const IfcParse::entity& Ifc4x3_add2::IfcGeographicCRS::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[500]); } const IfcParse::entity& Ifc4x3_add2::IfcGeographicCRS::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[500]); } Ifc4x3_add2::IfcGeographicCRS::IfcGeographicCRS(IfcEntityInstanceData&& e) : IfcCoordinateReferenceSystem(std::move(e)) { } -Ifc4x3_add2::IfcGeographicCRS::IfcGeographicCRS(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_GeodeticDatum, boost::optional< std::string > v4_PrimeMeridian, ::Ifc4x3_add2::IfcNamedUnit* v5_AngleUnit, ::Ifc4x3_add2::IfcNamedUnit* v6_HeightUnit) : IfcCoordinateReferenceSystem(IfcEntityInstanceData(storage_t(6))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); } if (v4_PrimeMeridian) {set_attribute_value(3, (*v4_PrimeMeridian)); }set_attribute_value(4, v5_AngleUnit ? v5_AngleUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_HeightUnit ? v6_HeightUnit->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcGeographicCRS::IfcGeographicCRS(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_GeodeticDatum, boost::optional< std::string > v4_PrimeMeridian, ::Ifc4x3_add2::IfcNamedUnit* v5_AngleUnit, ::Ifc4x3_add2::IfcNamedUnit* v6_HeightUnit) : IfcCoordinateReferenceSystem(IfcEntityInstanceData(storage_t(6))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); } if (v4_PrimeMeridian) {set_attribute_value(3, (*v4_PrimeMeridian)); }set_attribute_value(4, v5_AngleUnit ? v5_AngleUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_HeightUnit ? v6_HeightUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcGeographicElement boost::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > Ifc4x3_add2::IfcGeographicElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcGeographicElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11483,7 +11483,7 @@ void Ifc4x3_add2::IfcGeographicElement::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcGeographicElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[501]); } const IfcParse::entity& Ifc4x3_add2::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[501]); } Ifc4x3_add2::IfcGeographicElement::IfcGeographicElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcGeographicElement::IfcGeographicElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) : IfcElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcGeographicElement::IfcGeographicElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) : IfcElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcGeographicElementType ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value Ifc4x3_add2::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcGeographicElementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11493,7 +11493,7 @@ void Ifc4x3_add2::IfcGeographicElementType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcGeographicElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[502]); } const IfcParse::entity& Ifc4x3_add2::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[502]); } Ifc4x3_add2::IfcGeographicElementType::IfcGeographicElementType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcGeographicElementType::IfcGeographicElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) : IfcElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcGeographicElementType::IfcGeographicElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) : IfcElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcGeometricCurveSet @@ -11501,7 +11501,7 @@ Ifc4x3_add2::IfcGeographicElementType::IfcGeographicElementType(std::string v1_G const IfcParse::entity& Ifc4x3_add2::IfcGeometricCurveSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[504]); } const IfcParse::entity& Ifc4x3_add2::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[504]); } Ifc4x3_add2::IfcGeometricCurveSet::IfcGeometricCurveSet(IfcEntityInstanceData&& e) : IfcGeometricSet(std::move(e)) { } -Ifc4x3_add2::IfcGeometricCurveSet::IfcGeometricCurveSet(aggregate_of< ::Ifc4x3_add2::IfcGeometricSetSelect >::ptr v1_Elements) : IfcGeometricSet(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Elements)->generalize()); } +Ifc4x3_add2::IfcGeometricCurveSet::IfcGeometricCurveSet(aggregate_of< ::Ifc4x3_add2::IfcGeometricSetSelect >::ptr v1_Elements) : IfcGeometricSet(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Elements)->generalize());; populate_derived(); } // Function implementations for IfcGeometricRepresentationContext int Ifc4x3_add2::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = data_.get_attribute_value(2); return v; } @@ -11519,7 +11519,7 @@ void Ifc4x3_add2::IfcGeometricRepresentationContext::setTrueNorth(::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationContext::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[506]); } const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[506]); } Ifc4x3_add2::IfcGeometricRepresentationContext::IfcGeometricRepresentationContext(IfcEntityInstanceData&& e) : IfcRepresentationContext(std::move(e)) { } -Ifc4x3_add2::IfcGeometricRepresentationContext::IfcGeometricRepresentationContext(boost::optional< std::string > v1_ContextIdentifier, boost::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, boost::optional< double > v4_Precision, ::Ifc4x3_add2::IfcAxis2Placement* v5_WorldCoordinateSystem, ::Ifc4x3_add2::IfcDirection* v6_TrueNorth) : IfcRepresentationContext(IfcEntityInstanceData(storage_t(6))) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(2, (v3_CoordinateSpaceDimension)); if (v4_Precision) {set_attribute_value(3, (*v4_Precision)); }set_attribute_value(4, v5_WorldCoordinateSystem ? v5_WorldCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_TrueNorth ? v6_TrueNorth->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcGeometricRepresentationContext::IfcGeometricRepresentationContext(boost::optional< std::string > v1_ContextIdentifier, boost::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, boost::optional< double > v4_Precision, ::Ifc4x3_add2::IfcAxis2Placement* v5_WorldCoordinateSystem, ::Ifc4x3_add2::IfcDirection* v6_TrueNorth) : IfcRepresentationContext(IfcEntityInstanceData(storage_t(6))) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(2, (v3_CoordinateSpaceDimension)); if (v4_Precision) {set_attribute_value(3, (*v4_Precision)); }set_attribute_value(4, v5_WorldCoordinateSystem ? v5_WorldCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_TrueNorth ? v6_TrueNorth->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcGeometricRepresentationItem @@ -11527,7 +11527,7 @@ Ifc4x3_add2::IfcGeometricRepresentationContext::IfcGeometricRepresentationContex const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[507]); } const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[507]); } Ifc4x3_add2::IfcGeometricRepresentationItem::IfcGeometricRepresentationItem(IfcEntityInstanceData&& e) : IfcRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcGeometricRepresentationItem::IfcGeometricRepresentationItem() : IfcRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcGeometricRepresentationItem::IfcGeometricRepresentationItem() : IfcRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcGeometricRepresentationSubContext ::Ifc4x3_add2::IfcGeometricRepresentationContext* Ifc4x3_add2::IfcGeometricRepresentationSubContext::ParentContext() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(6)))->as<::Ifc4x3_add2::IfcGeometricRepresentationContext>(true); } @@ -11543,7 +11543,7 @@ void Ifc4x3_add2::IfcGeometricRepresentationSubContext::setUserDefinedTargetView const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationSubContext::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[508]); } const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[508]); } Ifc4x3_add2::IfcGeometricRepresentationSubContext::IfcGeometricRepresentationSubContext(IfcEntityInstanceData&& e) : IfcGeometricRepresentationContext(std::move(e)) { } -Ifc4x3_add2::IfcGeometricRepresentationSubContext::IfcGeometricRepresentationSubContext(boost::optional< std::string > v1_ContextIdentifier, boost::optional< std::string > v2_ContextType, ::Ifc4x3_add2::IfcGeometricRepresentationContext* v7_ParentContext, boost::optional< double > v8_TargetScale, ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value v9_TargetView, boost::optional< std::string > v10_UserDefinedTargetView) : IfcGeometricRepresentationContext(IfcEntityInstanceData(storage_t(10))) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, v7_ParentContext ? v7_ParentContext->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +Ifc4x3_add2::IfcGeometricRepresentationSubContext::IfcGeometricRepresentationSubContext(boost::optional< std::string > v1_ContextIdentifier, boost::optional< std::string > v2_ContextType, ::Ifc4x3_add2::IfcGeometricRepresentationContext* v7_ParentContext, boost::optional< double > v8_TargetScale, ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value v9_TargetView, boost::optional< std::string > v10_UserDefinedTargetView) : IfcGeometricRepresentationContext(IfcEntityInstanceData(storage_t(10))) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, v7_ParentContext ? v7_ParentContext->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); }; populate_derived(); } // Function implementations for IfcGeometricSet aggregate_of< ::Ifc4x3_add2::IfcGeometricSetSelect >::ptr Ifc4x3_add2::IfcGeometricSet::Elements() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcGeometricSetSelect >(); } @@ -11553,7 +11553,7 @@ void Ifc4x3_add2::IfcGeometricSet::setElements(aggregate_of< ::Ifc4x3_add2::IfcG const IfcParse::entity& Ifc4x3_add2::IfcGeometricSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[509]); } const IfcParse::entity& Ifc4x3_add2::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[509]); } Ifc4x3_add2::IfcGeometricSet::IfcGeometricSet(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcGeometricSet::IfcGeometricSet(aggregate_of< ::Ifc4x3_add2::IfcGeometricSetSelect >::ptr v1_Elements) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Elements)->generalize()); } +Ifc4x3_add2::IfcGeometricSet::IfcGeometricSet(aggregate_of< ::Ifc4x3_add2::IfcGeometricSetSelect >::ptr v1_Elements) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Elements)->generalize());; populate_derived(); } // Function implementations for IfcGeomodel @@ -11561,7 +11561,7 @@ Ifc4x3_add2::IfcGeometricSet::IfcGeometricSet(aggregate_of< ::Ifc4x3_add2::IfcGe const IfcParse::entity& Ifc4x3_add2::IfcGeomodel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[511]); } const IfcParse::entity& Ifc4x3_add2::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[511]); } Ifc4x3_add2::IfcGeomodel::IfcGeomodel(IfcEntityInstanceData&& e) : IfcGeotechnicalAssembly(std::move(e)) { } -Ifc4x3_add2::IfcGeomodel::IfcGeomodel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalAssembly(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcGeomodel::IfcGeomodel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalAssembly(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcGeoslice @@ -11569,7 +11569,7 @@ Ifc4x3_add2::IfcGeomodel::IfcGeomodel(std::string v1_GlobalId, ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcGeoslice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[512]); } const IfcParse::entity& Ifc4x3_add2::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[512]); } Ifc4x3_add2::IfcGeoslice::IfcGeoslice(IfcEntityInstanceData&& e) : IfcGeotechnicalAssembly(std::move(e)) { } -Ifc4x3_add2::IfcGeoslice::IfcGeoslice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalAssembly(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcGeoslice::IfcGeoslice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalAssembly(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcGeotechnicalAssembly @@ -11577,7 +11577,7 @@ Ifc4x3_add2::IfcGeoslice::IfcGeoslice(std::string v1_GlobalId, ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalAssembly::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[513]); } const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[513]); } Ifc4x3_add2::IfcGeotechnicalAssembly::IfcGeotechnicalAssembly(IfcEntityInstanceData&& e) : IfcGeotechnicalElement(std::move(e)) { } -Ifc4x3_add2::IfcGeotechnicalAssembly::IfcGeotechnicalAssembly(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcGeotechnicalAssembly::IfcGeotechnicalAssembly(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcGeotechnicalElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcGeotechnicalElement @@ -11585,7 +11585,7 @@ Ifc4x3_add2::IfcGeotechnicalAssembly::IfcGeotechnicalAssembly(std::string v1_Glo const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[514]); } const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[514]); } Ifc4x3_add2::IfcGeotechnicalElement::IfcGeotechnicalElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcGeotechnicalElement::IfcGeotechnicalElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcGeotechnicalElement::IfcGeotechnicalElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcGeotechnicalStratum boost::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > Ifc4x3_add2::IfcGeotechnicalStratum::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11595,7 +11595,7 @@ void Ifc4x3_add2::IfcGeotechnicalStratum::setPredefinedType(boost::optional< ::I const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalStratum::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[515]); } const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[515]); } Ifc4x3_add2::IfcGeotechnicalStratum::IfcGeotechnicalStratum(IfcEntityInstanceData&& e) : IfcGeotechnicalElement(std::move(e)) { } -Ifc4x3_add2::IfcGeotechnicalStratum::IfcGeotechnicalStratum(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) : IfcGeotechnicalElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcGeotechnicalStratum::IfcGeotechnicalStratum(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) : IfcGeotechnicalElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcGradientCurve ::Ifc4x3_add2::IfcBoundedCurve* Ifc4x3_add2::IfcGradientCurve::BaseCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcBoundedCurve>(true); } @@ -11607,7 +11607,7 @@ void Ifc4x3_add2::IfcGradientCurve::setEndPoint(::Ifc4x3_add2::IfcPlacement* v) const IfcParse::entity& Ifc4x3_add2::IfcGradientCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[519]); } const IfcParse::entity& Ifc4x3_add2::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[519]); } Ifc4x3_add2::IfcGradientCurve::IfcGradientCurve(IfcEntityInstanceData&& e) : IfcCompositeCurve(std::move(e)) { } -Ifc4x3_add2::IfcGradientCurve::IfcGradientCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve* v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement* v4_EndPoint) : IfcCompositeCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, v3_BaseCurve ? v3_BaseCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_EndPoint ? v4_EndPoint->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcGradientCurve::IfcGradientCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve* v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement* v4_EndPoint) : IfcCompositeCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, v3_BaseCurve ? v3_BaseCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_EndPoint ? v4_EndPoint->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcGrid aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr Ifc4x3_add2::IfcGrid::UAxes() const { aggregate_of_instance::ptr es = data_.get_attribute_value(7); return es->as< ::Ifc4x3_add2::IfcGridAxis >(); } @@ -11623,7 +11623,7 @@ void Ifc4x3_add2::IfcGrid::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcGrid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[520]); } const IfcParse::entity& Ifc4x3_add2::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[520]); } Ifc4x3_add2::IfcGrid::IfcGrid(IfcEntityInstanceData&& e) : IfcPositioningElement(std::move(e)) { } -Ifc4x3_add2::IfcGrid::IfcGrid(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr v8_UAxes, aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr v9_VAxes, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr > v10_WAxes, boost::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value > v11_PredefinedType) : IfcPositioningElement(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_UAxes)->generalize());set_attribute_value(8, (v9_VAxes)->generalize()); if (v10_WAxes) {set_attribute_value(9, (*v10_WAxes)->generalize()); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcGrid::IfcGrid(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr v8_UAxes, aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr v9_VAxes, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr > v10_WAxes, boost::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value > v11_PredefinedType) : IfcPositioningElement(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_UAxes)->generalize());set_attribute_value(8, (v9_VAxes)->generalize()); if (v10_WAxes) {set_attribute_value(9, (*v10_WAxes)->generalize()); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcGridAxis boost::optional< std::string > Ifc4x3_add2::IfcGridAxis::AxisTag() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -11641,7 +11641,7 @@ void Ifc4x3_add2::IfcGridAxis::setSameSense(bool v) { set_attribute_value(2, v); const IfcParse::entity& Ifc4x3_add2::IfcGridAxis::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[521]); } const IfcParse::entity& Ifc4x3_add2::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[521]); } Ifc4x3_add2::IfcGridAxis::IfcGridAxis(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcGridAxis::IfcGridAxis(boost::optional< std::string > v1_AxisTag, ::Ifc4x3_add2::IfcCurve* v2_AxisCurve, bool v3_SameSense) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, v2_AxisCurve ? v2_AxisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_SameSense)); } +Ifc4x3_add2::IfcGridAxis::IfcGridAxis(boost::optional< std::string > v1_AxisTag, ::Ifc4x3_add2::IfcCurve* v2_AxisCurve, bool v3_SameSense) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, v2_AxisCurve ? v2_AxisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_SameSense));; populate_derived(); } // Function implementations for IfcGridPlacement ::Ifc4x3_add2::IfcVirtualGridIntersection* Ifc4x3_add2::IfcGridPlacement::PlacementLocation() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcVirtualGridIntersection>(true); } @@ -11653,7 +11653,7 @@ void Ifc4x3_add2::IfcGridPlacement::setPlacementRefDirection(::Ifc4x3_add2::IfcG const IfcParse::entity& Ifc4x3_add2::IfcGridPlacement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[522]); } const IfcParse::entity& Ifc4x3_add2::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[522]); } Ifc4x3_add2::IfcGridPlacement::IfcGridPlacement(IfcEntityInstanceData&& e) : IfcObjectPlacement(std::move(e)) { } -Ifc4x3_add2::IfcGridPlacement::IfcGridPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo, ::Ifc4x3_add2::IfcVirtualGridIntersection* v2_PlacementLocation, ::Ifc4x3_add2::IfcGridPlacementDirectionSelect* v3_PlacementRefDirection) : IfcObjectPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_PlacementLocation ? v2_PlacementLocation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_PlacementRefDirection ? v3_PlacementRefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcGridPlacement::IfcGridPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo, ::Ifc4x3_add2::IfcVirtualGridIntersection* v2_PlacementLocation, ::Ifc4x3_add2::IfcGridPlacementDirectionSelect* v3_PlacementRefDirection) : IfcObjectPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_PlacementLocation ? v2_PlacementLocation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_PlacementRefDirection ? v3_PlacementRefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcGroup @@ -11663,7 +11663,7 @@ Ifc4x3_add2::IfcGridPlacement::IfcGridPlacement(::Ifc4x3_add2::IfcObjectPlacemen const IfcParse::entity& Ifc4x3_add2::IfcGroup::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[525]); } const IfcParse::entity& Ifc4x3_add2::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[525]); } Ifc4x3_add2::IfcGroup::IfcGroup(IfcEntityInstanceData&& e) : IfcObject(std::move(e)) { } -Ifc4x3_add2::IfcGroup::IfcGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType) : IfcObject(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } +Ifc4x3_add2::IfcGroup::IfcGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType) : IfcObject(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }; populate_derived(); } // Function implementations for IfcHalfSpaceSolid ::Ifc4x3_add2::IfcSurface* Ifc4x3_add2::IfcHalfSpaceSolid::BaseSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSurface>(true); } @@ -11675,7 +11675,7 @@ void Ifc4x3_add2::IfcHalfSpaceSolid::setAgreementFlag(bool v) { set_attribute_va const IfcParse::entity& Ifc4x3_add2::IfcHalfSpaceSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[526]); } const IfcParse::entity& Ifc4x3_add2::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[526]); } Ifc4x3_add2::IfcHalfSpaceSolid::IfcHalfSpaceSolid(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcHalfSpaceSolid::IfcHalfSpaceSolid(::Ifc4x3_add2::IfcSurface* v1_BaseSurface, bool v2_AgreementFlag) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_BaseSurface ? v1_BaseSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AgreementFlag)); } +Ifc4x3_add2::IfcHalfSpaceSolid::IfcHalfSpaceSolid(::Ifc4x3_add2::IfcSurface* v1_BaseSurface, bool v2_AgreementFlag) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_BaseSurface ? v1_BaseSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AgreementFlag));; populate_derived(); } // Function implementations for IfcHeatExchanger boost::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > Ifc4x3_add2::IfcHeatExchanger::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11685,7 +11685,7 @@ void Ifc4x3_add2::IfcHeatExchanger::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcHeatExchanger::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[528]); } const IfcParse::entity& Ifc4x3_add2::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[528]); } Ifc4x3_add2::IfcHeatExchanger::IfcHeatExchanger(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcHeatExchanger::IfcHeatExchanger(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcHeatExchanger::IfcHeatExchanger(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcHeatExchangerType ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value Ifc4x3_add2::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11695,7 +11695,7 @@ void Ifc4x3_add2::IfcHeatExchangerType::setPredefinedType(::Ifc4x3_add2::IfcHeat const IfcParse::entity& Ifc4x3_add2::IfcHeatExchangerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[529]); } const IfcParse::entity& Ifc4x3_add2::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[529]); } Ifc4x3_add2::IfcHeatExchangerType::IfcHeatExchangerType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcHeatExchangerType::IfcHeatExchangerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcHeatExchangerType::IfcHeatExchangerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcHumidifier boost::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > Ifc4x3_add2::IfcHumidifier::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcHumidifierTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11705,7 +11705,7 @@ void Ifc4x3_add2::IfcHumidifier::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcHumidifier::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[533]); } const IfcParse::entity& Ifc4x3_add2::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[533]); } Ifc4x3_add2::IfcHumidifier::IfcHumidifier(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcHumidifier::IfcHumidifier(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcHumidifier::IfcHumidifier(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcHumidifierType ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value Ifc4x3_add2::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_add2::IfcHumidifierTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11715,7 +11715,7 @@ void Ifc4x3_add2::IfcHumidifierType::setPredefinedType(::Ifc4x3_add2::IfcHumidif const IfcParse::entity& Ifc4x3_add2::IfcHumidifierType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[534]); } const IfcParse::entity& Ifc4x3_add2::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[534]); } Ifc4x3_add2::IfcHumidifierType::IfcHumidifierType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcHumidifierType::IfcHumidifierType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcHumidifierType::IfcHumidifierType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_add2::IfcIShapeProfileDef::OverallWidth() const { double v = data_.get_attribute_value(3); return v; } @@ -11737,7 +11737,7 @@ void Ifc4x3_add2::IfcIShapeProfileDef::setFlangeSlope(boost::optional< double > const IfcParse::entity& Ifc4x3_add2::IfcIShapeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[563]); } const IfcParse::entity& Ifc4x3_add2::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[563]); } Ifc4x3_add2::IfcIShapeProfileDef::IfcIShapeProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcIShapeProfileDef::IfcIShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_FlangeEdgeRadius, boost::optional< double > v10_FlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_OverallWidth));set_attribute_value(4, (v5_OverallDepth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_FlangeEdgeRadius) {set_attribute_value(8, (*v9_FlangeEdgeRadius)); } if (v10_FlangeSlope) {set_attribute_value(9, (*v10_FlangeSlope)); } } +Ifc4x3_add2::IfcIShapeProfileDef::IfcIShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_FlangeEdgeRadius, boost::optional< double > v10_FlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_OverallWidth));set_attribute_value(4, (v5_OverallDepth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_FlangeEdgeRadius) {set_attribute_value(8, (*v9_FlangeEdgeRadius)); } if (v10_FlangeSlope) {set_attribute_value(9, (*v10_FlangeSlope)); }; populate_derived(); } // Function implementations for IfcImageTexture std::string Ifc4x3_add2::IfcImageTexture::URLReference() const { std::string v = data_.get_attribute_value(5); return v; } @@ -11747,7 +11747,7 @@ void Ifc4x3_add2::IfcImageTexture::setURLReference(std::string v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcImageTexture::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[538]); } const IfcParse::entity& Ifc4x3_add2::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[538]); } Ifc4x3_add2::IfcImageTexture::IfcImageTexture(IfcEntityInstanceData&& e) : IfcSurfaceTexture(std::move(e)) { } -Ifc4x3_add2::IfcImageTexture::IfcImageTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) : IfcSurfaceTexture(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } +Ifc4x3_add2::IfcImageTexture::IfcImageTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) : IfcSurfaceTexture(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference));; populate_derived(); } // Function implementations for IfcImpactProtectionDevice boost::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > Ifc4x3_add2::IfcImpactProtectionDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11757,7 +11757,7 @@ void Ifc4x3_add2::IfcImpactProtectionDevice::setPredefinedType(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcImpactProtectionDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[539]); } const IfcParse::entity& Ifc4x3_add2::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[539]); } Ifc4x3_add2::IfcImpactProtectionDevice::IfcImpactProtectionDevice(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcImpactProtectionDevice::IfcImpactProtectionDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcImpactProtectionDevice::IfcImpactProtectionDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcImpactProtectionDeviceType ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_add2::IfcImpactProtectionDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11767,7 +11767,7 @@ void Ifc4x3_add2::IfcImpactProtectionDeviceType::setPredefinedType(::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcImpactProtectionDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[540]); } const IfcParse::entity& Ifc4x3_add2::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[540]); } Ifc4x3_add2::IfcImpactProtectionDeviceType::IfcImpactProtectionDeviceType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcImpactProtectionDeviceType::IfcImpactProtectionDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcImpactProtectionDeviceType::IfcImpactProtectionDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcIndexedColourMap ::Ifc4x3_add2::IfcTessellatedFaceSet* Ifc4x3_add2::IfcIndexedColourMap::MappedTo() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcTessellatedFaceSet>(true); } @@ -11783,7 +11783,7 @@ void Ifc4x3_add2::IfcIndexedColourMap::setColourIndex(std::vector< int > /*[1:?] const IfcParse::entity& Ifc4x3_add2::IfcIndexedColourMap::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[542]); } const IfcParse::entity& Ifc4x3_add2::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[542]); } Ifc4x3_add2::IfcIndexedColourMap::IfcIndexedColourMap(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcIndexedColourMap::IfcIndexedColourMap(::Ifc4x3_add2::IfcTessellatedFaceSet* v1_MappedTo, boost::optional< double > v2_Opacity, ::Ifc4x3_add2::IfcColourRgbList* v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) : IfcPresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_MappedTo ? v1_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, v3_Colours ? v3_Colours->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_ColourIndex)); } +Ifc4x3_add2::IfcIndexedColourMap::IfcIndexedColourMap(::Ifc4x3_add2::IfcTessellatedFaceSet* v1_MappedTo, boost::optional< double > v2_Opacity, ::Ifc4x3_add2::IfcColourRgbList* v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) : IfcPresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_MappedTo ? v1_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, v3_Colours ? v3_Colours->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_ColourIndex));; populate_derived(); } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_add2::IfcCartesianPointList* Ifc4x3_add2::IfcIndexedPolyCurve::Points() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCartesianPointList>(true); } @@ -11797,7 +11797,7 @@ void Ifc4x3_add2::IfcIndexedPolyCurve::setSelfIntersect(boost::optional< bool > const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolyCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[543]); } const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[543]); } Ifc4x3_add2::IfcIndexedPolyCurve::IfcIndexedPolyCurve(IfcEntityInstanceData&& e) : IfcBoundedCurve(std::move(e)) { } -Ifc4x3_add2::IfcIndexedPolyCurve::IfcIndexedPolyCurve(::Ifc4x3_add2::IfcCartesianPointList* v1_Points, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcSegmentIndexSelect >::ptr > v2_Segments, boost::optional< bool > v3_SelfIntersect) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Points ? v1_Points->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Segments) {set_attribute_value(1, (*v2_Segments)->generalize()); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } +Ifc4x3_add2::IfcIndexedPolyCurve::IfcIndexedPolyCurve(::Ifc4x3_add2::IfcCartesianPointList* v1_Points, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcSegmentIndexSelect >::ptr > v2_Segments, boost::optional< bool > v3_SelfIntersect) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Points ? v1_Points->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Segments) {set_attribute_value(1, (*v2_Segments)->generalize()); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); }; populate_derived(); } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_add2::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = data_.get_attribute_value(0); return v; } @@ -11809,7 +11809,7 @@ void Ifc4x3_add2::IfcIndexedPolygonalFace::setCoordIndex(std::vector< int > /*[3 const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalFace::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[544]); } const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[544]); } Ifc4x3_add2::IfcIndexedPolygonalFace::IfcIndexedPolygonalFace(IfcEntityInstanceData&& e) : IfcTessellatedItem(std::move(e)) { } -Ifc4x3_add2::IfcIndexedPolygonalFace::IfcIndexedPolygonalFace(std::vector< int > /*[3:?]*/ v1_CoordIndex) : IfcTessellatedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CoordIndex)); } +Ifc4x3_add2::IfcIndexedPolygonalFace::IfcIndexedPolygonalFace(std::vector< int > /*[3:?]*/ v1_CoordIndex) : IfcTessellatedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CoordIndex));; populate_derived(); } // Function implementations for IfcIndexedPolygonalFaceWithVoids std::vector< std::vector< int > > Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = data_.get_attribute_value(1); return v; } @@ -11819,7 +11819,7 @@ void Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(std::ve const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[545]); } const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[545]); } Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::IfcIndexedPolygonalFaceWithVoids(IfcEntityInstanceData&& e) : IfcIndexedPolygonalFace(std::move(e)) { } -Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::IfcIndexedPolygonalFaceWithVoids(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) : IfcIndexedPolygonalFace(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } +Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::IfcIndexedPolygonalFaceWithVoids(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) : IfcIndexedPolygonalFace(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; populate_derived(); } // Function implementations for IfcIndexedPolygonalTextureMap aggregate_of< ::Ifc4x3_add2::IfcTextureCoordinateIndices >::ptr Ifc4x3_add2::IfcIndexedPolygonalTextureMap::TexCoordIndices() const { aggregate_of_instance::ptr es = data_.get_attribute_value(3); return es->as< ::Ifc4x3_add2::IfcTextureCoordinateIndices >(); } @@ -11829,7 +11829,7 @@ void Ifc4x3_add2::IfcIndexedPolygonalTextureMap::setTexCoordIndices(aggregate_of const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalTextureMap::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[546]); } const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[546]); } Ifc4x3_add2::IfcIndexedPolygonalTextureMap::IfcIndexedPolygonalTextureMap(IfcEntityInstanceData&& e) : IfcIndexedTextureMap(std::move(e)) { } -Ifc4x3_add2::IfcIndexedPolygonalTextureMap::IfcIndexedPolygonalTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet* v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList* v3_TexCoords, aggregate_of< ::Ifc4x3_add2::IfcTextureCoordinateIndices >::ptr v4_TexCoordIndices) : IfcIndexedTextureMap(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, v2_MappedTo ? v2_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TexCoords ? v3_TexCoords->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_TexCoordIndices)->generalize()); } +Ifc4x3_add2::IfcIndexedPolygonalTextureMap::IfcIndexedPolygonalTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet* v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList* v3_TexCoords, aggregate_of< ::Ifc4x3_add2::IfcTextureCoordinateIndices >::ptr v4_TexCoordIndices) : IfcIndexedTextureMap(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, v2_MappedTo ? v2_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TexCoords ? v3_TexCoords->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_TexCoordIndices)->generalize());; populate_derived(); } // Function implementations for IfcIndexedTextureMap ::Ifc4x3_add2::IfcTessellatedFaceSet* Ifc4x3_add2::IfcIndexedTextureMap::MappedTo() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcTessellatedFaceSet>(true); } @@ -11841,7 +11841,7 @@ void Ifc4x3_add2::IfcIndexedTextureMap::setTexCoords(::Ifc4x3_add2::IfcTextureVe const IfcParse::entity& Ifc4x3_add2::IfcIndexedTextureMap::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[547]); } const IfcParse::entity& Ifc4x3_add2::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[547]); } Ifc4x3_add2::IfcIndexedTextureMap::IfcIndexedTextureMap(IfcEntityInstanceData&& e) : IfcTextureCoordinate(std::move(e)) { } -Ifc4x3_add2::IfcIndexedTextureMap::IfcIndexedTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet* v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList* v3_TexCoords) : IfcTextureCoordinate(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, v2_MappedTo ? v2_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TexCoords ? v3_TexCoords->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcIndexedTextureMap::IfcIndexedTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet* v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList* v3_TexCoords) : IfcTextureCoordinate(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, v2_MappedTo ? v2_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TexCoords ? v3_TexCoords->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcIndexedTriangleTextureMap boost::optional< std::vector< std::vector< int > > > Ifc4x3_add2::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::vector< std::vector< int > > v = data_.get_attribute_value(3); return v; } @@ -11851,7 +11851,7 @@ void Ifc4x3_add2::IfcIndexedTriangleTextureMap::setTexCoordIndex(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcIndexedTriangleTextureMap::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[548]); } const IfcParse::entity& Ifc4x3_add2::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[548]); } Ifc4x3_add2::IfcIndexedTriangleTextureMap::IfcIndexedTriangleTextureMap(IfcEntityInstanceData&& e) : IfcIndexedTextureMap(std::move(e)) { } -Ifc4x3_add2::IfcIndexedTriangleTextureMap::IfcIndexedTriangleTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet* v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList* v3_TexCoords, boost::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) : IfcIndexedTextureMap(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, v2_MappedTo ? v2_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TexCoords ? v3_TexCoords->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } +Ifc4x3_add2::IfcIndexedTriangleTextureMap::IfcIndexedTriangleTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet* v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList* v3_TexCoords, boost::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) : IfcIndexedTextureMap(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, v2_MappedTo ? v2_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TexCoords ? v3_TexCoords->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); }; populate_derived(); } // Function implementations for IfcInterceptor boost::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > Ifc4x3_add2::IfcInterceptor::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcInterceptorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11861,7 +11861,7 @@ void Ifc4x3_add2::IfcInterceptor::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcInterceptor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[552]); } const IfcParse::entity& Ifc4x3_add2::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[552]); } Ifc4x3_add2::IfcInterceptor::IfcInterceptor(IfcEntityInstanceData&& e) : IfcFlowTreatmentDevice(std::move(e)) { } -Ifc4x3_add2::IfcInterceptor::IfcInterceptor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcInterceptor::IfcInterceptor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) : IfcFlowTreatmentDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcInterceptorType ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value Ifc4x3_add2::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_add2::IfcInterceptorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11871,7 +11871,7 @@ void Ifc4x3_add2::IfcInterceptorType::setPredefinedType(::Ifc4x3_add2::IfcInterc const IfcParse::entity& Ifc4x3_add2::IfcInterceptorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[553]); } const IfcParse::entity& Ifc4x3_add2::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[553]); } Ifc4x3_add2::IfcInterceptorType::IfcInterceptorType(IfcEntityInstanceData&& e) : IfcFlowTreatmentDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcInterceptorType::IfcInterceptorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcInterceptorType::IfcInterceptorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value v10_PredefinedType) : IfcFlowTreatmentDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcIntersectionCurve @@ -11879,7 +11879,7 @@ Ifc4x3_add2::IfcInterceptorType::IfcInterceptorType(std::string v1_GlobalId, ::I const IfcParse::entity& Ifc4x3_add2::IfcIntersectionCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[557]); } const IfcParse::entity& Ifc4x3_add2::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[557]); } Ifc4x3_add2::IfcIntersectionCurve::IfcIntersectionCurve(IfcEntityInstanceData&& e) : IfcSurfaceCurve(std::move(e)) { } -Ifc4x3_add2::IfcIntersectionCurve::IfcIntersectionCurve(::Ifc4x3_add2::IfcCurve* v1_Curve3D, aggregate_of< ::Ifc4x3_add2::IfcPcurve >::ptr v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) : IfcSurfaceCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Curve3D ? v1_Curve3D->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AssociatedGeometry)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +Ifc4x3_add2::IfcIntersectionCurve::IfcIntersectionCurve(::Ifc4x3_add2::IfcCurve* v1_Curve3D, aggregate_of< ::Ifc4x3_add2::IfcPcurve >::ptr v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) : IfcSurfaceCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Curve3D ? v1_Curve3D->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AssociatedGeometry)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation)));; populate_derived(); } // Function implementations for IfcInventory boost::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value > Ifc4x3_add2::IfcInventory::PredefinedType() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcInventoryTypeEnum::FromString(data_.get_attribute_value(5)); } @@ -11899,7 +11899,7 @@ void Ifc4x3_add2::IfcInventory::setOriginalValue(::Ifc4x3_add2::IfcCostValue* v) const IfcParse::entity& Ifc4x3_add2::IfcInventory::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[558]); } const IfcParse::entity& Ifc4x3_add2::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[558]); } Ifc4x3_add2::IfcInventory::IfcInventory(IfcEntityInstanceData&& e) : IfcGroup(std::move(e)) { } -Ifc4x3_add2::IfcInventory::IfcInventory(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add2::IfcActorSelect* v7_Jurisdiction, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_ResponsiblePersons, boost::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add2::IfcCostValue* v10_CurrentValue, ::Ifc4x3_add2::IfcCostValue* v11_OriginalValue) : IfcGroup(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, v7_Jurisdiction ? v7_Jurisdiction->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_ResponsiblePersons) {set_attribute_value(7, (*v8_ResponsiblePersons)->generalize()); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, v10_CurrentValue ? v10_CurrentValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_OriginalValue ? v11_OriginalValue->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcInventory::IfcInventory(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add2::IfcActorSelect* v7_Jurisdiction, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_ResponsiblePersons, boost::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add2::IfcCostValue* v10_CurrentValue, ::Ifc4x3_add2::IfcCostValue* v11_OriginalValue) : IfcGroup(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, v7_Jurisdiction ? v7_Jurisdiction->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_ResponsiblePersons) {set_attribute_value(7, (*v8_ResponsiblePersons)->generalize()); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, v10_CurrentValue ? v10_CurrentValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_OriginalValue ? v11_OriginalValue->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcIrregularTimeSeries aggregate_of< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue >::ptr Ifc4x3_add2::IfcIrregularTimeSeries::Values() const { aggregate_of_instance::ptr es = data_.get_attribute_value(8); return es->as< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue >(); } @@ -11909,7 +11909,7 @@ void Ifc4x3_add2::IfcIrregularTimeSeries::setValues(aggregate_of< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcIrregularTimeSeries::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[561]); } const IfcParse::entity& Ifc4x3_add2::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[561]); } Ifc4x3_add2::IfcIrregularTimeSeries::IfcIrregularTimeSeries(IfcEntityInstanceData&& e) : IfcTimeSeries(std::move(e)) { } -Ifc4x3_add2::IfcIrregularTimeSeries::IfcIrregularTimeSeries(std::string v1_Name, boost::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add2::IfcDataOriginEnum::Value v6_DataOrigin, boost::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit* v8_Unit, aggregate_of< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue >::ptr v9_Values) : IfcTimeSeries(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, v8_Unit ? v8_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (v9_Values)->generalize()); } +Ifc4x3_add2::IfcIrregularTimeSeries::IfcIrregularTimeSeries(std::string v1_Name, boost::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add2::IfcDataOriginEnum::Value v6_DataOrigin, boost::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit* v8_Unit, aggregate_of< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue >::ptr v9_Values) : IfcTimeSeries(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, v8_Unit ? v8_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (v9_Values)->generalize());; populate_derived(); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_add2::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = data_.get_attribute_value(0); return v; } @@ -11921,7 +11921,7 @@ void Ifc4x3_add2::IfcIrregularTimeSeriesValue::setListValues(aggregate_of< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcIrregularTimeSeriesValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[562]); } const IfcParse::entity& Ifc4x3_add2::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[562]); } Ifc4x3_add2::IfcIrregularTimeSeriesValue::IfcIrregularTimeSeriesValue(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcIrregularTimeSeriesValue::IfcIrregularTimeSeriesValue(std::string v1_TimeStamp, aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr v2_ListValues) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, (v2_ListValues)->generalize()); } +Ifc4x3_add2::IfcIrregularTimeSeriesValue::IfcIrregularTimeSeriesValue(std::string v1_TimeStamp, aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr v2_ListValues) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, (v2_ListValues)->generalize());; populate_derived(); } // Function implementations for IfcJunctionBox boost::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > Ifc4x3_add2::IfcJunctionBox::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11931,7 +11931,7 @@ void Ifc4x3_add2::IfcJunctionBox::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcJunctionBox::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[565]); } const IfcParse::entity& Ifc4x3_add2::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[565]); } Ifc4x3_add2::IfcJunctionBox::IfcJunctionBox(IfcEntityInstanceData&& e) : IfcFlowFitting(std::move(e)) { } -Ifc4x3_add2::IfcJunctionBox::IfcJunctionBox(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcJunctionBox::IfcJunctionBox(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcJunctionBoxType ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value Ifc4x3_add2::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11941,7 +11941,7 @@ void Ifc4x3_add2::IfcJunctionBoxType::setPredefinedType(::Ifc4x3_add2::IfcJuncti const IfcParse::entity& Ifc4x3_add2::IfcJunctionBoxType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[566]); } const IfcParse::entity& Ifc4x3_add2::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[566]); } Ifc4x3_add2::IfcJunctionBoxType::IfcJunctionBoxType(IfcEntityInstanceData&& e) : IfcFlowFittingType(std::move(e)) { } -Ifc4x3_add2::IfcJunctionBoxType::IfcJunctionBoxType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcJunctionBoxType::IfcJunctionBoxType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcKerb boost::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > Ifc4x3_add2::IfcKerb::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcKerbTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -11951,7 +11951,7 @@ void Ifc4x3_add2::IfcKerb::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcKerb::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[568]); } const IfcParse::entity& Ifc4x3_add2::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[568]); } Ifc4x3_add2::IfcKerb::IfcKerb(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcKerb::IfcKerb(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcKerb::IfcKerb(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcKerbType ::Ifc4x3_add2::IfcKerbTypeEnum::Value Ifc4x3_add2::IfcKerbType::PredefinedType() const { return ::Ifc4x3_add2::IfcKerbTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -11961,7 +11961,7 @@ void Ifc4x3_add2::IfcKerbType::setPredefinedType(::Ifc4x3_add2::IfcKerbTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcKerbType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[569]); } const IfcParse::entity& Ifc4x3_add2::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[569]); } Ifc4x3_add2::IfcKerbType::IfcKerbType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcKerbType::IfcKerbType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcKerbTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcKerbType::IfcKerbType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcKerbTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcLShapeProfileDef double Ifc4x3_add2::IfcLShapeProfileDef::Depth() const { double v = data_.get_attribute_value(3); return v; } @@ -11981,7 +11981,7 @@ void Ifc4x3_add2::IfcLShapeProfileDef::setLegSlope(boost::optional< double > v) const IfcParse::entity& Ifc4x3_add2::IfcLShapeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[619]); } const IfcParse::entity& Ifc4x3_add2::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[619]); } Ifc4x3_add2::IfcLShapeProfileDef::IfcLShapeProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcLShapeProfileDef::IfcLShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, boost::optional< double > v5_Width, double v6_Thickness, boost::optional< double > v7_FilletRadius, boost::optional< double > v8_EdgeRadius, boost::optional< double > v9_LegSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth)); if (v5_Width) {set_attribute_value(4, (*v5_Width)); }set_attribute_value(5, (v6_Thickness)); if (v7_FilletRadius) {set_attribute_value(6, (*v7_FilletRadius)); } if (v8_EdgeRadius) {set_attribute_value(7, (*v8_EdgeRadius)); } if (v9_LegSlope) {set_attribute_value(8, (*v9_LegSlope)); } } +Ifc4x3_add2::IfcLShapeProfileDef::IfcLShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, boost::optional< double > v5_Width, double v6_Thickness, boost::optional< double > v7_FilletRadius, boost::optional< double > v8_EdgeRadius, boost::optional< double > v9_LegSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth)); if (v5_Width) {set_attribute_value(4, (*v5_Width)); }set_attribute_value(5, (v6_Thickness)); if (v7_FilletRadius) {set_attribute_value(6, (*v7_FilletRadius)); } if (v8_EdgeRadius) {set_attribute_value(7, (*v8_EdgeRadius)); } if (v9_LegSlope) {set_attribute_value(8, (*v9_LegSlope)); }; populate_derived(); } // Function implementations for IfcLaborResource boost::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > Ifc4x3_add2::IfcLaborResource::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcLaborResourceTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -11991,7 +11991,7 @@ void Ifc4x3_add2::IfcLaborResource::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcLaborResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[574]); } const IfcParse::entity& Ifc4x3_add2::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[574]); } Ifc4x3_add2::IfcLaborResource::IfcLaborResource(IfcEntityInstanceData&& e) : IfcConstructionResource(std::move(e)) { } -Ifc4x3_add2::IfcLaborResource::IfcLaborResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcLaborResource::IfcLaborResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcLaborResourceType ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value Ifc4x3_add2::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcLaborResourceTypeEnum::FromString(data_.get_attribute_value(11)); } @@ -12001,7 +12001,7 @@ void Ifc4x3_add2::IfcLaborResourceType::setPredefinedType(::Ifc4x3_add2::IfcLabo const IfcParse::entity& Ifc4x3_add2::IfcLaborResourceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[575]); } const IfcParse::entity& Ifc4x3_add2::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[575]); } Ifc4x3_add2::IfcLaborResourceType::IfcLaborResourceType(IfcEntityInstanceData&& e) : IfcConstructionResourceType(std::move(e)) { } -Ifc4x3_add2::IfcLaborResourceType::IfcLaborResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcLaborResourceType::IfcLaborResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcLagTime ::Ifc4x3_add2::IfcTimeOrRatioSelect* Ifc4x3_add2::IfcLagTime::LagValue() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcTimeOrRatioSelect>(true); } @@ -12013,7 +12013,7 @@ void Ifc4x3_add2::IfcLagTime::setDurationType(::Ifc4x3_add2::IfcTaskDurationEnum const IfcParse::entity& Ifc4x3_add2::IfcLagTime::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[577]); } const IfcParse::entity& Ifc4x3_add2::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[577]); } Ifc4x3_add2::IfcLagTime::IfcLagTime(IfcEntityInstanceData&& e) : IfcSchedulingTime(std::move(e)) { } -Ifc4x3_add2::IfcLagTime::IfcLagTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcTimeOrRatioSelect* v4_LagValue, ::Ifc4x3_add2::IfcTaskDurationEnum::Value v5_DurationType) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, v4_LagValue ? v4_LagValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +Ifc4x3_add2::IfcLagTime::IfcLagTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcTimeOrRatioSelect* v4_LagValue, ::Ifc4x3_add2::IfcTaskDurationEnum::Value v5_DurationType) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, v4_LagValue ? v4_LagValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType)));; populate_derived(); } // Function implementations for IfcLamp boost::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > Ifc4x3_add2::IfcLamp::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcLampTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12023,7 +12023,7 @@ void Ifc4x3_add2::IfcLamp::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcLamp::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[578]); } const IfcParse::entity& Ifc4x3_add2::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[578]); } Ifc4x3_add2::IfcLamp::IfcLamp(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcLamp::IfcLamp(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcLamp::IfcLamp(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcLampType ::Ifc4x3_add2::IfcLampTypeEnum::Value Ifc4x3_add2::IfcLampType::PredefinedType() const { return ::Ifc4x3_add2::IfcLampTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12033,7 +12033,7 @@ void Ifc4x3_add2::IfcLampType::setPredefinedType(::Ifc4x3_add2::IfcLampTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcLampType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[579]); } const IfcParse::entity& Ifc4x3_add2::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[579]); } Ifc4x3_add2::IfcLampType::IfcLampType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcLampType::IfcLampType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLampTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcLampType::IfcLampType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLampTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_add2::IfcLibraryInformation::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -12055,7 +12055,7 @@ void Ifc4x3_add2::IfcLibraryInformation::setDescription(boost::optional< std::st const IfcParse::entity& Ifc4x3_add2::IfcLibraryInformation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[585]); } const IfcParse::entity& Ifc4x3_add2::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[585]); } Ifc4x3_add2::IfcLibraryInformation::IfcLibraryInformation(IfcEntityInstanceData&& e) : IfcExternalInformation(std::move(e)) { } -Ifc4x3_add2::IfcLibraryInformation::IfcLibraryInformation(std::string v1_Name, boost::optional< std::string > v2_Version, ::Ifc4x3_add2::IfcActorSelect* v3_Publisher, boost::optional< std::string > v4_VersionDate, boost::optional< std::string > v5_Location, boost::optional< std::string > v6_Description) : IfcExternalInformation(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, v3_Publisher ? v3_Publisher->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_VersionDate) {set_attribute_value(3, (*v4_VersionDate)); } if (v5_Location) {set_attribute_value(4, (*v5_Location)); } if (v6_Description) {set_attribute_value(5, (*v6_Description)); } } +Ifc4x3_add2::IfcLibraryInformation::IfcLibraryInformation(std::string v1_Name, boost::optional< std::string > v2_Version, ::Ifc4x3_add2::IfcActorSelect* v3_Publisher, boost::optional< std::string > v4_VersionDate, boost::optional< std::string > v5_Location, boost::optional< std::string > v6_Description) : IfcExternalInformation(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, v3_Publisher ? v3_Publisher->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_VersionDate) {set_attribute_value(3, (*v4_VersionDate)); } if (v5_Location) {set_attribute_value(4, (*v5_Location)); } if (v6_Description) {set_attribute_value(5, (*v6_Description)); }; populate_derived(); } // Function implementations for IfcLibraryReference boost::optional< std::string > Ifc4x3_add2::IfcLibraryReference::Description() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(3); return v; } @@ -12070,7 +12070,7 @@ void Ifc4x3_add2::IfcLibraryReference::setReferencedLibrary(::Ifc4x3_add2::IfcLi const IfcParse::entity& Ifc4x3_add2::IfcLibraryReference::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[586]); } const IfcParse::entity& Ifc4x3_add2::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[586]); } Ifc4x3_add2::IfcLibraryReference::IfcLibraryReference(IfcEntityInstanceData&& e) : IfcExternalReference(std::move(e)) { } -Ifc4x3_add2::IfcLibraryReference::IfcLibraryReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_Language, ::Ifc4x3_add2::IfcLibraryInformation* v6_ReferencedLibrary) : IfcExternalReference(IfcEntityInstanceData(storage_t(6))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_Language) {set_attribute_value(4, (*v5_Language)); }set_attribute_value(5, v6_ReferencedLibrary ? v6_ReferencedLibrary->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLibraryReference::IfcLibraryReference(boost::optional< std::string > v1_Location, boost::optional< std::string > v2_Identification, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_Language, ::Ifc4x3_add2::IfcLibraryInformation* v6_ReferencedLibrary) : IfcExternalReference(IfcEntityInstanceData(storage_t(6))) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_Language) {set_attribute_value(4, (*v5_Language)); }set_attribute_value(5, v6_ReferencedLibrary ? v6_ReferencedLibrary->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLightDistributionData double Ifc4x3_add2::IfcLightDistributionData::MainPlaneAngle() const { double v = data_.get_attribute_value(0); return v; } @@ -12084,7 +12084,7 @@ void Ifc4x3_add2::IfcLightDistributionData::setLuminousIntensity(std::vector< do const IfcParse::entity& Ifc4x3_add2::IfcLightDistributionData::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[589]); } const IfcParse::entity& Ifc4x3_add2::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[589]); } Ifc4x3_add2::IfcLightDistributionData::IfcLightDistributionData(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcLightDistributionData::IfcLightDistributionData(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } +Ifc4x3_add2::IfcLightDistributionData::IfcLightDistributionData(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity));; populate_derived(); } // Function implementations for IfcLightFixture boost::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > Ifc4x3_add2::IfcLightFixture::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcLightFixtureTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12094,7 +12094,7 @@ void Ifc4x3_add2::IfcLightFixture::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcLightFixture::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[592]); } const IfcParse::entity& Ifc4x3_add2::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[592]); } Ifc4x3_add2::IfcLightFixture::IfcLightFixture(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcLightFixture::IfcLightFixture(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcLightFixture::IfcLightFixture(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcLightFixtureType ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value Ifc4x3_add2::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_add2::IfcLightFixtureTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12104,7 +12104,7 @@ void Ifc4x3_add2::IfcLightFixtureType::setPredefinedType(::Ifc4x3_add2::IfcLight const IfcParse::entity& Ifc4x3_add2::IfcLightFixtureType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[593]); } const IfcParse::entity& Ifc4x3_add2::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[593]); } Ifc4x3_add2::IfcLightFixtureType::IfcLightFixtureType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcLightFixtureType::IfcLightFixtureType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcLightFixtureType::IfcLightFixtureType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value Ifc4x3_add2::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_add2::IfcLightDistributionCurveEnum::FromString(data_.get_attribute_value(0)); } @@ -12116,7 +12116,7 @@ void Ifc4x3_add2::IfcLightIntensityDistribution::setDistributionData(aggregate_o const IfcParse::entity& Ifc4x3_add2::IfcLightIntensityDistribution::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[595]); } const IfcParse::entity& Ifc4x3_add2::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[595]); } Ifc4x3_add2::IfcLightIntensityDistribution::IfcLightIntensityDistribution(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcLightIntensityDistribution::IfcLightIntensityDistribution(::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, aggregate_of< ::Ifc4x3_add2::IfcLightDistributionData >::ptr v2_DistributionData) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, (v2_DistributionData)->generalize()); } +Ifc4x3_add2::IfcLightIntensityDistribution::IfcLightIntensityDistribution(::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, aggregate_of< ::Ifc4x3_add2::IfcLightDistributionData >::ptr v2_DistributionData) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, (v2_DistributionData)->generalize());; populate_derived(); } // Function implementations for IfcLightSource boost::optional< std::string > Ifc4x3_add2::IfcLightSource::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -12132,7 +12132,7 @@ void Ifc4x3_add2::IfcLightSource::setIntensity(boost::optional< double > v) { if const IfcParse::entity& Ifc4x3_add2::IfcLightSource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[596]); } const IfcParse::entity& Ifc4x3_add2::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[596]); } Ifc4x3_add2::IfcLightSource::IfcLightSource(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcLightSource::IfcLightSource(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } +Ifc4x3_add2::IfcLightSource::IfcLightSource(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }; populate_derived(); } // Function implementations for IfcLightSourceAmbient @@ -12140,7 +12140,7 @@ Ifc4x3_add2::IfcLightSource::IfcLightSource(boost::optional< std::string > v1_Na const IfcParse::entity& Ifc4x3_add2::IfcLightSourceAmbient::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[597]); } const IfcParse::entity& Ifc4x3_add2::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[597]); } Ifc4x3_add2::IfcLightSourceAmbient::IfcLightSourceAmbient(IfcEntityInstanceData&& e) : IfcLightSource(std::move(e)) { } -Ifc4x3_add2::IfcLightSourceAmbient::IfcLightSourceAmbient(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity) : IfcLightSource(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } +Ifc4x3_add2::IfcLightSourceAmbient::IfcLightSourceAmbient(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity) : IfcLightSource(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }; populate_derived(); } // Function implementations for IfcLightSourceDirectional ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcLightSourceDirectional::Orientation() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -12150,7 +12150,7 @@ void Ifc4x3_add2::IfcLightSourceDirectional::setOrientation(::Ifc4x3_add2::IfcDi const IfcParse::entity& Ifc4x3_add2::IfcLightSourceDirectional::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[598]); } const IfcParse::entity& Ifc4x3_add2::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[598]); } Ifc4x3_add2::IfcLightSourceDirectional::IfcLightSourceDirectional(IfcEntityInstanceData&& e) : IfcLightSource(std::move(e)) { } -Ifc4x3_add2::IfcLightSourceDirectional::IfcLightSourceDirectional(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcDirection* v5_Orientation) : IfcLightSource(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Orientation ? v5_Orientation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLightSourceDirectional::IfcLightSourceDirectional(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcDirection* v5_Orientation) : IfcLightSource(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Orientation ? v5_Orientation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLightSourceGoniometric ::Ifc4x3_add2::IfcAxis2Placement3D* Ifc4x3_add2::IfcLightSourceGoniometric::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcAxis2Placement3D>(true); } @@ -12170,7 +12170,7 @@ void Ifc4x3_add2::IfcLightSourceGoniometric::setLightDistributionDataSource(::If const IfcParse::entity& Ifc4x3_add2::IfcLightSourceGoniometric::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[599]); } const IfcParse::entity& Ifc4x3_add2::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[599]); } Ifc4x3_add2::IfcLightSourceGoniometric::IfcLightSourceGoniometric(IfcEntityInstanceData&& e) : IfcLightSource(std::move(e)) { } -Ifc4x3_add2::IfcLightSourceGoniometric::IfcLightSourceGoniometric(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcAxis2Placement3D* v5_Position, ::Ifc4x3_add2::IfcColourRgb* v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_add2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_add2::IfcLightDistributionDataSourceSelect* v10_LightDistributionDataSource) : IfcLightSource(IfcEntityInstanceData(storage_t(10))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Position ? v5_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_ColourAppearance ? v6_ColourAppearance->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, v10_LightDistributionDataSource ? v10_LightDistributionDataSource->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLightSourceGoniometric::IfcLightSourceGoniometric(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcAxis2Placement3D* v5_Position, ::Ifc4x3_add2::IfcColourRgb* v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_add2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_add2::IfcLightDistributionDataSourceSelect* v10_LightDistributionDataSource) : IfcLightSource(IfcEntityInstanceData(storage_t(10))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Position ? v5_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_ColourAppearance ? v6_ColourAppearance->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, v10_LightDistributionDataSource ? v10_LightDistributionDataSource->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_add2::IfcCartesianPoint* Ifc4x3_add2::IfcLightSourcePositional::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcCartesianPoint>(true); } @@ -12188,7 +12188,7 @@ void Ifc4x3_add2::IfcLightSourcePositional::setQuadricAttenuation(double v) { se const IfcParse::entity& Ifc4x3_add2::IfcLightSourcePositional::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[600]); } const IfcParse::entity& Ifc4x3_add2::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[600]); } Ifc4x3_add2::IfcLightSourcePositional::IfcLightSourcePositional(IfcEntityInstanceData&& e) : IfcLightSource(std::move(e)) { } -Ifc4x3_add2::IfcLightSourcePositional::IfcLightSourcePositional(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcCartesianPoint* v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) : IfcLightSource(IfcEntityInstanceData(storage_t(9))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Position ? v5_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } +Ifc4x3_add2::IfcLightSourcePositional::IfcLightSourcePositional(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcCartesianPoint* v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) : IfcLightSource(IfcEntityInstanceData(storage_t(9))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Position ? v5_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation));; populate_derived(); } // Function implementations for IfcLightSourceSpot ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcLightSourceSpot::Orientation() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(9)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -12204,7 +12204,7 @@ void Ifc4x3_add2::IfcLightSourceSpot::setBeamWidthAngle(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcLightSourceSpot::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[601]); } const IfcParse::entity& Ifc4x3_add2::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[601]); } Ifc4x3_add2::IfcLightSourceSpot::IfcLightSourceSpot(IfcEntityInstanceData&& e) : IfcLightSourcePositional(std::move(e)) { } -Ifc4x3_add2::IfcLightSourceSpot::IfcLightSourceSpot(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcCartesianPoint* v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_add2::IfcDirection* v10_Orientation, boost::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) : IfcLightSourcePositional(IfcEntityInstanceData(storage_t(13))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Position ? v5_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation));set_attribute_value(9, v10_Orientation ? v10_Orientation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } +Ifc4x3_add2::IfcLightSourceSpot::IfcLightSourceSpot(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb* v2_LightColour, boost::optional< double > v3_AmbientIntensity, boost::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcCartesianPoint* v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_add2::IfcDirection* v10_Orientation, boost::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) : IfcLightSourcePositional(IfcEntityInstanceData(storage_t(13))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_LightColour ? v2_LightColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, v5_Position ? v5_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation));set_attribute_value(9, v10_Orientation ? v10_Orientation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle));; populate_derived(); } // Function implementations for IfcLine ::Ifc4x3_add2::IfcCartesianPoint* Ifc4x3_add2::IfcLine::Pnt() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCartesianPoint>(true); } @@ -12216,7 +12216,7 @@ void Ifc4x3_add2::IfcLine::setDir(::Ifc4x3_add2::IfcVector* v) { set_attribute_v const IfcParse::entity& Ifc4x3_add2::IfcLine::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[602]); } const IfcParse::entity& Ifc4x3_add2::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[602]); } Ifc4x3_add2::IfcLine::IfcLine(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcLine::IfcLine(::Ifc4x3_add2::IfcCartesianPoint* v1_Pnt, ::Ifc4x3_add2::IfcVector* v2_Dir) : IfcCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Pnt ? v1_Pnt->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Dir ? v2_Dir->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLine::IfcLine(::Ifc4x3_add2::IfcCartesianPoint* v1_Pnt, ::Ifc4x3_add2::IfcVector* v2_Dir) : IfcCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Pnt ? v1_Pnt->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Dir ? v2_Dir->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLinearElement @@ -12224,7 +12224,7 @@ Ifc4x3_add2::IfcLine::IfcLine(::Ifc4x3_add2::IfcCartesianPoint* v1_Pnt, ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcLinearElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[603]); } const IfcParse::entity& Ifc4x3_add2::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[603]); } Ifc4x3_add2::IfcLinearElement::IfcLinearElement(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcLinearElement::IfcLinearElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLinearElement::IfcLinearElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLinearPlacement ::Ifc4x3_add2::IfcAxis2PlacementLinear* Ifc4x3_add2::IfcLinearPlacement::RelativePlacement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcAxis2PlacementLinear>(true); } @@ -12236,7 +12236,7 @@ void Ifc4x3_add2::IfcLinearPlacement::setCartesianPosition(::Ifc4x3_add2::IfcAxi const IfcParse::entity& Ifc4x3_add2::IfcLinearPlacement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[606]); } const IfcParse::entity& Ifc4x3_add2::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[606]); } Ifc4x3_add2::IfcLinearPlacement::IfcLinearPlacement(IfcEntityInstanceData&& e) : IfcObjectPlacement(std::move(e)) { } -Ifc4x3_add2::IfcLinearPlacement::IfcLinearPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2PlacementLinear* v2_RelativePlacement, ::Ifc4x3_add2::IfcAxis2Placement3D* v3_CartesianPosition) : IfcObjectPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_RelativePlacement ? v2_RelativePlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_CartesianPosition ? v3_CartesianPosition->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLinearPlacement::IfcLinearPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2PlacementLinear* v2_RelativePlacement, ::Ifc4x3_add2::IfcAxis2Placement3D* v3_CartesianPosition) : IfcObjectPlacement(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_RelativePlacement ? v2_RelativePlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_CartesianPosition ? v3_CartesianPosition->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLinearPositioningElement @@ -12244,7 +12244,7 @@ Ifc4x3_add2::IfcLinearPlacement::IfcLinearPlacement(::Ifc4x3_add2::IfcObjectPlac const IfcParse::entity& Ifc4x3_add2::IfcLinearPositioningElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[607]); } const IfcParse::entity& Ifc4x3_add2::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[607]); } Ifc4x3_add2::IfcLinearPositioningElement::IfcLinearPositioningElement(IfcEntityInstanceData&& e) : IfcPositioningElement(std::move(e)) { } -Ifc4x3_add2::IfcLinearPositioningElement::IfcLinearPositioningElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcPositioningElement(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLinearPositioningElement::IfcLinearPositioningElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcPositioningElement(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLiquidTerminal boost::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_add2::IfcLiquidTerminal::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12254,7 +12254,7 @@ void Ifc4x3_add2::IfcLiquidTerminal::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcLiquidTerminal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[611]); } const IfcParse::entity& Ifc4x3_add2::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[611]); } Ifc4x3_add2::IfcLiquidTerminal::IfcLiquidTerminal(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcLiquidTerminal::IfcLiquidTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcLiquidTerminal::IfcLiquidTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value Ifc4x3_add2::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12264,7 +12264,7 @@ void Ifc4x3_add2::IfcLiquidTerminalType::setPredefinedType(::Ifc4x3_add2::IfcLiq const IfcParse::entity& Ifc4x3_add2::IfcLiquidTerminalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[612]); } const IfcParse::entity& Ifc4x3_add2::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[612]); } Ifc4x3_add2::IfcLiquidTerminalType::IfcLiquidTerminalType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcLiquidTerminalType::IfcLiquidTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcLiquidTerminalType::IfcLiquidTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcLocalPlacement ::Ifc4x3_add2::IfcAxis2Placement* Ifc4x3_add2::IfcLocalPlacement::RelativePlacement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcAxis2Placement>(true); } @@ -12274,7 +12274,7 @@ void Ifc4x3_add2::IfcLocalPlacement::setRelativePlacement(::Ifc4x3_add2::IfcAxis const IfcParse::entity& Ifc4x3_add2::IfcLocalPlacement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[615]); } const IfcParse::entity& Ifc4x3_add2::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[615]); } Ifc4x3_add2::IfcLocalPlacement::IfcLocalPlacement(IfcEntityInstanceData&& e) : IfcObjectPlacement(std::move(e)) { } -Ifc4x3_add2::IfcLocalPlacement::IfcLocalPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2Placement* v2_RelativePlacement) : IfcObjectPlacement(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_RelativePlacement ? v2_RelativePlacement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcLocalPlacement::IfcLocalPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2Placement* v2_RelativePlacement) : IfcObjectPlacement(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_RelativePlacement ? v2_RelativePlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcLoop @@ -12282,7 +12282,7 @@ Ifc4x3_add2::IfcLocalPlacement::IfcLocalPlacement(::Ifc4x3_add2::IfcObjectPlacem const IfcParse::entity& Ifc4x3_add2::IfcLoop::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[618]); } const IfcParse::entity& Ifc4x3_add2::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[618]); } Ifc4x3_add2::IfcLoop::IfcLoop(IfcEntityInstanceData&& e) : IfcTopologicalRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcLoop::IfcLoop() : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcLoop::IfcLoop() : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcManifoldSolidBrep ::Ifc4x3_add2::IfcClosedShell* Ifc4x3_add2::IfcManifoldSolidBrep::Outer() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcClosedShell>(true); } @@ -12292,7 +12292,7 @@ void Ifc4x3_add2::IfcManifoldSolidBrep::setOuter(::Ifc4x3_add2::IfcClosedShell* const IfcParse::entity& Ifc4x3_add2::IfcManifoldSolidBrep::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[625]); } const IfcParse::entity& Ifc4x3_add2::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[625]); } Ifc4x3_add2::IfcManifoldSolidBrep::IfcManifoldSolidBrep(IfcEntityInstanceData&& e) : IfcSolidModel(std::move(e)) { } -Ifc4x3_add2::IfcManifoldSolidBrep::IfcManifoldSolidBrep(::Ifc4x3_add2::IfcClosedShell* v1_Outer) : IfcSolidModel(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcManifoldSolidBrep::IfcManifoldSolidBrep(::Ifc4x3_add2::IfcClosedShell* v1_Outer) : IfcSolidModel(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Outer ? v1_Outer->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMapConversion double Ifc4x3_add2::IfcMapConversion::Eastings() const { double v = data_.get_attribute_value(2); return v; } @@ -12312,7 +12312,7 @@ void Ifc4x3_add2::IfcMapConversion::setScale(boost::optional< double > v) { if ( const IfcParse::entity& Ifc4x3_add2::IfcMapConversion::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[626]); } const IfcParse::entity& Ifc4x3_add2::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[626]); } Ifc4x3_add2::IfcMapConversion::IfcMapConversion(IfcEntityInstanceData&& e) : IfcCoordinateOperation(std::move(e)) { } -Ifc4x3_add2::IfcMapConversion::IfcMapConversion(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, boost::optional< double > v6_XAxisAbscissa, boost::optional< double > v7_XAxisOrdinate, boost::optional< double > v8_Scale) : IfcCoordinateOperation(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_Eastings));set_attribute_value(3, (v4_Northings));set_attribute_value(4, (v5_OrthogonalHeight)); if (v6_XAxisAbscissa) {set_attribute_value(5, (*v6_XAxisAbscissa)); } if (v7_XAxisOrdinate) {set_attribute_value(6, (*v7_XAxisOrdinate)); } if (v8_Scale) {set_attribute_value(7, (*v8_Scale)); } } +Ifc4x3_add2::IfcMapConversion::IfcMapConversion(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, boost::optional< double > v6_XAxisAbscissa, boost::optional< double > v7_XAxisOrdinate, boost::optional< double > v8_Scale) : IfcCoordinateOperation(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_Eastings));set_attribute_value(3, (v4_Northings));set_attribute_value(4, (v5_OrthogonalHeight)); if (v6_XAxisAbscissa) {set_attribute_value(5, (*v6_XAxisAbscissa)); } if (v7_XAxisOrdinate) {set_attribute_value(6, (*v7_XAxisOrdinate)); } if (v8_Scale) {set_attribute_value(7, (*v8_Scale)); }; populate_derived(); } // Function implementations for IfcMapConversionScaled double Ifc4x3_add2::IfcMapConversionScaled::FactorX() const { double v = data_.get_attribute_value(8); return v; } @@ -12326,7 +12326,7 @@ void Ifc4x3_add2::IfcMapConversionScaled::setFactorZ(double v) { set_attribute_v const IfcParse::entity& Ifc4x3_add2::IfcMapConversionScaled::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[627]); } const IfcParse::entity& Ifc4x3_add2::IfcMapConversionScaled::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[627]); } Ifc4x3_add2::IfcMapConversionScaled::IfcMapConversionScaled(IfcEntityInstanceData&& e) : IfcMapConversion(std::move(e)) { } -Ifc4x3_add2::IfcMapConversionScaled::IfcMapConversionScaled(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, boost::optional< double > v6_XAxisAbscissa, boost::optional< double > v7_XAxisOrdinate, boost::optional< double > v8_Scale, double v9_FactorX, double v10_FactorY, double v11_FactorZ) : IfcMapConversion(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_Eastings));set_attribute_value(3, (v4_Northings));set_attribute_value(4, (v5_OrthogonalHeight)); if (v6_XAxisAbscissa) {set_attribute_value(5, (*v6_XAxisAbscissa)); } if (v7_XAxisOrdinate) {set_attribute_value(6, (*v7_XAxisOrdinate)); } if (v8_Scale) {set_attribute_value(7, (*v8_Scale)); }set_attribute_value(8, (v9_FactorX));set_attribute_value(9, (v10_FactorY));set_attribute_value(10, (v11_FactorZ)); } +Ifc4x3_add2::IfcMapConversionScaled::IfcMapConversionScaled(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, boost::optional< double > v6_XAxisAbscissa, boost::optional< double > v7_XAxisOrdinate, boost::optional< double > v8_Scale, double v9_FactorX, double v10_FactorY, double v11_FactorZ) : IfcMapConversion(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_Eastings));set_attribute_value(3, (v4_Northings));set_attribute_value(4, (v5_OrthogonalHeight)); if (v6_XAxisAbscissa) {set_attribute_value(5, (*v6_XAxisAbscissa)); } if (v7_XAxisOrdinate) {set_attribute_value(6, (*v7_XAxisOrdinate)); } if (v8_Scale) {set_attribute_value(7, (*v8_Scale)); }set_attribute_value(8, (v9_FactorX));set_attribute_value(9, (v10_FactorY));set_attribute_value(10, (v11_FactorZ));; populate_derived(); } // Function implementations for IfcMappedItem ::Ifc4x3_add2::IfcRepresentationMap* Ifc4x3_add2::IfcMappedItem::MappingSource() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcRepresentationMap>(true); } @@ -12338,7 +12338,7 @@ void Ifc4x3_add2::IfcMappedItem::setMappingTarget(::Ifc4x3_add2::IfcCartesianTra const IfcParse::entity& Ifc4x3_add2::IfcMappedItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[628]); } const IfcParse::entity& Ifc4x3_add2::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[628]); } Ifc4x3_add2::IfcMappedItem::IfcMappedItem(IfcEntityInstanceData&& e) : IfcRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcMappedItem::IfcMappedItem(::Ifc4x3_add2::IfcRepresentationMap* v1_MappingSource, ::Ifc4x3_add2::IfcCartesianTransformationOperator* v2_MappingTarget) : IfcRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_MappingSource ? v1_MappingSource->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_MappingTarget ? v2_MappingTarget->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcMappedItem::IfcMappedItem(::Ifc4x3_add2::IfcRepresentationMap* v1_MappingSource, ::Ifc4x3_add2::IfcCartesianTransformationOperator* v2_MappingTarget) : IfcRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_MappingSource ? v1_MappingSource->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_MappingTarget ? v2_MappingTarget->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMarineFacility boost::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > Ifc4x3_add2::IfcMarineFacility::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12348,7 +12348,7 @@ void Ifc4x3_add2::IfcMarineFacility::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcMarineFacility::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[629]); } const IfcParse::entity& Ifc4x3_add2::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[629]); } Ifc4x3_add2::IfcMarineFacility::IfcMarineFacility(IfcEntityInstanceData&& e) : IfcFacility(std::move(e)) { } -Ifc4x3_add2::IfcMarineFacility::IfcMarineFacility(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcMarineFacility::IfcMarineFacility(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMarinePart boost::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > Ifc4x3_add2::IfcMarinePart::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcMarinePartTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -12358,7 +12358,7 @@ void Ifc4x3_add2::IfcMarinePart::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcMarinePart::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[631]); } const IfcParse::entity& Ifc4x3_add2::IfcMarinePart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[631]); } Ifc4x3_add2::IfcMarinePart::IfcMarinePart(IfcEntityInstanceData&& e) : IfcFacilityPart(std::move(e)) { } -Ifc4x3_add2::IfcMarinePart::IfcMarinePart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcMarinePart::IfcMarinePart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMaterial std::string Ifc4x3_add2::IfcMaterial::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -12375,7 +12375,7 @@ void Ifc4x3_add2::IfcMaterial::setCategory(boost::optional< std::string > v) { i const IfcParse::entity& Ifc4x3_add2::IfcMaterial::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[637]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[637]); } Ifc4x3_add2::IfcMaterial::IfcMaterial(IfcEntityInstanceData&& e) : IfcMaterialDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterial::IfcMaterial(std::string v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_Category) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } +Ifc4x3_add2::IfcMaterial::IfcMaterial(std::string v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_Category) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); }; populate_derived(); } // Function implementations for IfcMaterialClassificationRelationship aggregate_of< ::Ifc4x3_add2::IfcClassificationSelect >::ptr Ifc4x3_add2::IfcMaterialClassificationRelationship::MaterialClassifications() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcClassificationSelect >(); } @@ -12387,7 +12387,7 @@ void Ifc4x3_add2::IfcMaterialClassificationRelationship::setClassifiedMaterial(: const IfcParse::entity& Ifc4x3_add2::IfcMaterialClassificationRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[638]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[638]); } Ifc4x3_add2::IfcMaterialClassificationRelationship::IfcMaterialClassificationRelationship(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcMaterialClassificationRelationship::IfcMaterialClassificationRelationship(aggregate_of< ::Ifc4x3_add2::IfcClassificationSelect >::ptr v1_MaterialClassifications, ::Ifc4x3_add2::IfcMaterial* v2_ClassifiedMaterial) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_MaterialClassifications)->generalize());set_attribute_value(1, v2_ClassifiedMaterial ? v2_ClassifiedMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcMaterialClassificationRelationship::IfcMaterialClassificationRelationship(aggregate_of< ::Ifc4x3_add2::IfcClassificationSelect >::ptr v1_MaterialClassifications, ::Ifc4x3_add2::IfcMaterial* v2_ClassifiedMaterial) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_MaterialClassifications)->generalize());set_attribute_value(1, v2_ClassifiedMaterial ? v2_ClassifiedMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMaterialConstituent boost::optional< std::string > Ifc4x3_add2::IfcMaterialConstituent::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -12406,7 +12406,7 @@ void Ifc4x3_add2::IfcMaterialConstituent::setCategory(boost::optional< std::stri const IfcParse::entity& Ifc4x3_add2::IfcMaterialConstituent::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[639]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[639]); } Ifc4x3_add2::IfcMaterialConstituent::IfcMaterialConstituent(IfcEntityInstanceData&& e) : IfcMaterialDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialConstituent::IfcMaterialConstituent(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_Material, boost::optional< double > v4_Fraction, boost::optional< std::string > v5_Category) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Material ? v3_Material->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } +Ifc4x3_add2::IfcMaterialConstituent::IfcMaterialConstituent(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_Material, boost::optional< double > v4_Fraction, boost::optional< std::string > v5_Category) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Material ? v3_Material->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); }; populate_derived(); } // Function implementations for IfcMaterialConstituentSet boost::optional< std::string > Ifc4x3_add2::IfcMaterialConstituentSet::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -12420,7 +12420,7 @@ void Ifc4x3_add2::IfcMaterialConstituentSet::setMaterialConstituents(boost::opti const IfcParse::entity& Ifc4x3_add2::IfcMaterialConstituentSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[640]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[640]); } Ifc4x3_add2::IfcMaterialConstituentSet::IfcMaterialConstituentSet(IfcEntityInstanceData&& e) : IfcMaterialDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialConstituentSet::IfcMaterialConstituentSet(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcMaterialConstituent >::ptr > v3_MaterialConstituents) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_MaterialConstituents) {set_attribute_value(2, (*v3_MaterialConstituents)->generalize()); } } +Ifc4x3_add2::IfcMaterialConstituentSet::IfcMaterialConstituentSet(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcMaterialConstituent >::ptr > v3_MaterialConstituents) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_MaterialConstituents) {set_attribute_value(2, (*v3_MaterialConstituents)->generalize()); }; populate_derived(); } // Function implementations for IfcMaterialDefinition @@ -12431,7 +12431,7 @@ Ifc4x3_add2::IfcMaterialConstituentSet::IfcMaterialConstituentSet(boost::optiona const IfcParse::entity& Ifc4x3_add2::IfcMaterialDefinition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[641]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[641]); } Ifc4x3_add2::IfcMaterialDefinition::IfcMaterialDefinition(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcMaterialDefinition::IfcMaterialDefinition() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcMaterialDefinition::IfcMaterialDefinition() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcMaterialDefinitionRepresentation ::Ifc4x3_add2::IfcMaterial* Ifc4x3_add2::IfcMaterialDefinitionRepresentation::RepresentedMaterial() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcMaterial>(true); } @@ -12441,7 +12441,7 @@ void Ifc4x3_add2::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(:: const IfcParse::entity& Ifc4x3_add2::IfcMaterialDefinitionRepresentation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[642]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[642]); } Ifc4x3_add2::IfcMaterialDefinitionRepresentation::IfcMaterialDefinitionRepresentation(IfcEntityInstanceData&& e) : IfcProductRepresentation(std::move(e)) { } -Ifc4x3_add2::IfcMaterialDefinitionRepresentation::IfcMaterialDefinitionRepresentation(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcRepresentation >::ptr v3_Representations, ::Ifc4x3_add2::IfcMaterial* v4_RepresentedMaterial) : IfcProductRepresentation(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Representations)->generalize());set_attribute_value(3, v4_RepresentedMaterial ? v4_RepresentedMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcMaterialDefinitionRepresentation::IfcMaterialDefinitionRepresentation(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcRepresentation >::ptr v3_Representations, ::Ifc4x3_add2::IfcMaterial* v4_RepresentedMaterial) : IfcProductRepresentation(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Representations)->generalize());set_attribute_value(3, v4_RepresentedMaterial ? v4_RepresentedMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMaterialLayer ::Ifc4x3_add2::IfcMaterial* Ifc4x3_add2::IfcMaterialLayer::Material() const { if(data_.get_attribute_value(0).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcMaterial>(true); } @@ -12464,7 +12464,7 @@ void Ifc4x3_add2::IfcMaterialLayer::setPriority(boost::optional< int > v) { if ( const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayer::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[643]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[643]); } Ifc4x3_add2::IfcMaterialLayer::IfcMaterialLayer(IfcEntityInstanceData&& e) : IfcMaterialDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialLayer::IfcMaterialLayer(::Ifc4x3_add2::IfcMaterial* v1_Material, double v2_LayerThickness, boost::optional< boost::logic::tribool > v3_IsVentilated, boost::optional< std::string > v4_Name, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Category, boost::optional< int > v7_Priority) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_Material ? v1_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_LayerThickness)); if (v3_IsVentilated) {set_attribute_value(2, (*v3_IsVentilated)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } if (v7_Priority) {set_attribute_value(6, (*v7_Priority)); } } +Ifc4x3_add2::IfcMaterialLayer::IfcMaterialLayer(::Ifc4x3_add2::IfcMaterial* v1_Material, double v2_LayerThickness, boost::optional< boost::logic::tribool > v3_IsVentilated, boost::optional< std::string > v4_Name, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Category, boost::optional< int > v7_Priority) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_Material ? v1_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_LayerThickness)); if (v3_IsVentilated) {set_attribute_value(2, (*v3_IsVentilated)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } if (v7_Priority) {set_attribute_value(6, (*v7_Priority)); }; populate_derived(); } // Function implementations for IfcMaterialLayerSet aggregate_of< ::Ifc4x3_add2::IfcMaterialLayer >::ptr Ifc4x3_add2::IfcMaterialLayerSet::MaterialLayers() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcMaterialLayer >(); } @@ -12478,7 +12478,7 @@ void Ifc4x3_add2::IfcMaterialLayerSet::setDescription(boost::optional< std::stri const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[644]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[644]); } Ifc4x3_add2::IfcMaterialLayerSet::IfcMaterialLayerSet(IfcEntityInstanceData&& e) : IfcMaterialDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialLayerSet::IfcMaterialLayerSet(aggregate_of< ::Ifc4x3_add2::IfcMaterialLayer >::ptr v1_MaterialLayers, boost::optional< std::string > v2_LayerSetName, boost::optional< std::string > v3_Description) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_MaterialLayers)->generalize()); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +Ifc4x3_add2::IfcMaterialLayerSet::IfcMaterialLayerSet(aggregate_of< ::Ifc4x3_add2::IfcMaterialLayer >::ptr v1_MaterialLayers, boost::optional< std::string > v2_LayerSetName, boost::optional< std::string > v3_Description) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_MaterialLayers)->generalize()); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }; populate_derived(); } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_add2::IfcMaterialLayerSet* Ifc4x3_add2::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcMaterialLayerSet>(true); } @@ -12496,7 +12496,7 @@ void Ifc4x3_add2::IfcMaterialLayerSetUsage::setReferenceExtent(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerSetUsage::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[645]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[645]); } Ifc4x3_add2::IfcMaterialLayerSetUsage::IfcMaterialLayerSetUsage(IfcEntityInstanceData&& e) : IfcMaterialUsageDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialLayerSetUsage::IfcMaterialLayerSetUsage(::Ifc4x3_add2::IfcMaterialLayerSet* v1_ForLayerSet, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, boost::optional< double > v5_ReferenceExtent) : IfcMaterialUsageDefinition(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_ForLayerSet ? v1_ForLayerSet->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +Ifc4x3_add2::IfcMaterialLayerSetUsage::IfcMaterialLayerSetUsage(::Ifc4x3_add2::IfcMaterialLayerSet* v1_ForLayerSet, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, boost::optional< double > v5_ReferenceExtent) : IfcMaterialUsageDefinition(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_ForLayerSet ? v1_ForLayerSet->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); }; populate_derived(); } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value Ifc4x3_add2::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_add2::IfcLayerSetDirectionEnum::FromString(data_.get_attribute_value(7)); } @@ -12508,7 +12508,7 @@ void Ifc4x3_add2::IfcMaterialLayerWithOffsets::setOffsetValues(std::vector< doub const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerWithOffsets::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[646]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[646]); } Ifc4x3_add2::IfcMaterialLayerWithOffsets::IfcMaterialLayerWithOffsets(IfcEntityInstanceData&& e) : IfcMaterialLayer(std::move(e)) { } -Ifc4x3_add2::IfcMaterialLayerWithOffsets::IfcMaterialLayerWithOffsets(::Ifc4x3_add2::IfcMaterial* v1_Material, double v2_LayerThickness, boost::optional< boost::logic::tribool > v3_IsVentilated, boost::optional< std::string > v4_Name, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Category, boost::optional< int > v7_Priority, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) : IfcMaterialLayer(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, v1_Material ? v1_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_LayerThickness)); if (v3_IsVentilated) {set_attribute_value(2, (*v3_IsVentilated)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } if (v7_Priority) {set_attribute_value(6, (*v7_Priority)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +Ifc4x3_add2::IfcMaterialLayerWithOffsets::IfcMaterialLayerWithOffsets(::Ifc4x3_add2::IfcMaterial* v1_Material, double v2_LayerThickness, boost::optional< boost::logic::tribool > v3_IsVentilated, boost::optional< std::string > v4_Name, boost::optional< std::string > v5_Description, boost::optional< std::string > v6_Category, boost::optional< int > v7_Priority, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) : IfcMaterialLayer(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, v1_Material ? v1_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_LayerThickness)); if (v3_IsVentilated) {set_attribute_value(2, (*v3_IsVentilated)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } if (v7_Priority) {set_attribute_value(6, (*v7_Priority)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues));; populate_derived(); } // Function implementations for IfcMaterialList aggregate_of< ::Ifc4x3_add2::IfcMaterial >::ptr Ifc4x3_add2::IfcMaterialList::Materials() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcMaterial >(); } @@ -12518,7 +12518,7 @@ void Ifc4x3_add2::IfcMaterialList::setMaterials(aggregate_of< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcMaterialList::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[647]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[647]); } Ifc4x3_add2::IfcMaterialList::IfcMaterialList(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcMaterialList::IfcMaterialList(aggregate_of< ::Ifc4x3_add2::IfcMaterial >::ptr v1_Materials) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Materials)->generalize()); } +Ifc4x3_add2::IfcMaterialList::IfcMaterialList(aggregate_of< ::Ifc4x3_add2::IfcMaterial >::ptr v1_Materials) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Materials)->generalize());; populate_derived(); } // Function implementations for IfcMaterialProfile boost::optional< std::string > Ifc4x3_add2::IfcMaterialProfile::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -12539,7 +12539,7 @@ void Ifc4x3_add2::IfcMaterialProfile::setCategory(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfile::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[648]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[648]); } Ifc4x3_add2::IfcMaterialProfile::IfcMaterialProfile(IfcEntityInstanceData&& e) : IfcMaterialDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialProfile::IfcMaterialProfile(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_Material, ::Ifc4x3_add2::IfcProfileDef* v4_Profile, boost::optional< int > v5_Priority, boost::optional< std::string > v6_Category) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(6))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Material ? v3_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Profile ? v4_Profile->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } +Ifc4x3_add2::IfcMaterialProfile::IfcMaterialProfile(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_Material, ::Ifc4x3_add2::IfcProfileDef* v4_Profile, boost::optional< int > v5_Priority, boost::optional< std::string > v6_Category) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(6))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Material ? v3_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Profile ? v4_Profile->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }; populate_derived(); } // Function implementations for IfcMaterialProfileSet boost::optional< std::string > Ifc4x3_add2::IfcMaterialProfileSet::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -12555,7 +12555,7 @@ void Ifc4x3_add2::IfcMaterialProfileSet::setCompositeProfile(::Ifc4x3_add2::IfcC const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[649]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[649]); } Ifc4x3_add2::IfcMaterialProfileSet::IfcMaterialProfileSet(IfcEntityInstanceData&& e) : IfcMaterialDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialProfileSet::IfcMaterialProfileSet(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcMaterialProfile >::ptr v3_MaterialProfiles, ::Ifc4x3_add2::IfcCompositeProfileDef* v4_CompositeProfile) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_MaterialProfiles)->generalize());set_attribute_value(3, v4_CompositeProfile ? v4_CompositeProfile->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcMaterialProfileSet::IfcMaterialProfileSet(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcMaterialProfile >::ptr v3_MaterialProfiles, ::Ifc4x3_add2::IfcCompositeProfileDef* v4_CompositeProfile) : IfcMaterialDefinition(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_MaterialProfiles)->generalize());set_attribute_value(3, v4_CompositeProfile ? v4_CompositeProfile->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_add2::IfcMaterialProfileSet* Ifc4x3_add2::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcMaterialProfileSet>(true); } @@ -12569,7 +12569,7 @@ void Ifc4x3_add2::IfcMaterialProfileSetUsage::setReferenceExtent(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSetUsage::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[650]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[650]); } Ifc4x3_add2::IfcMaterialProfileSetUsage::IfcMaterialProfileSetUsage(IfcEntityInstanceData&& e) : IfcMaterialUsageDefinition(std::move(e)) { } -Ifc4x3_add2::IfcMaterialProfileSetUsage::IfcMaterialProfileSetUsage(::Ifc4x3_add2::IfcMaterialProfileSet* v1_ForProfileSet, boost::optional< int > v2_CardinalPoint, boost::optional< double > v3_ReferenceExtent) : IfcMaterialUsageDefinition(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_ForProfileSet ? v1_ForProfileSet->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } +Ifc4x3_add2::IfcMaterialProfileSetUsage::IfcMaterialProfileSetUsage(::Ifc4x3_add2::IfcMaterialProfileSet* v1_ForProfileSet, boost::optional< int > v2_CardinalPoint, boost::optional< double > v3_ReferenceExtent) : IfcMaterialUsageDefinition(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_ForProfileSet ? v1_ForProfileSet->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }; populate_derived(); } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_add2::IfcMaterialProfileSet* Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcMaterialProfileSet>(true); } @@ -12581,7 +12581,7 @@ void Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(boost: const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[651]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[651]); } Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::IfcMaterialProfileSetUsageTapering(IfcEntityInstanceData&& e) : IfcMaterialProfileSetUsage(std::move(e)) { } -Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::IfcMaterialProfileSetUsageTapering(::Ifc4x3_add2::IfcMaterialProfileSet* v1_ForProfileSet, boost::optional< int > v2_CardinalPoint, boost::optional< double > v3_ReferenceExtent, ::Ifc4x3_add2::IfcMaterialProfileSet* v4_ForProfileEndSet, boost::optional< int > v5_CardinalEndPoint) : IfcMaterialProfileSetUsage(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_ForProfileSet ? v1_ForProfileSet->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, v4_ForProfileEndSet ? v4_ForProfileEndSet->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } +Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::IfcMaterialProfileSetUsageTapering(::Ifc4x3_add2::IfcMaterialProfileSet* v1_ForProfileSet, boost::optional< int > v2_CardinalPoint, boost::optional< double > v3_ReferenceExtent, ::Ifc4x3_add2::IfcMaterialProfileSet* v4_ForProfileEndSet, boost::optional< int > v5_CardinalEndPoint) : IfcMaterialProfileSetUsage(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_ForProfileSet ? v1_ForProfileSet->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, v4_ForProfileEndSet ? v4_ForProfileEndSet->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); }; populate_derived(); } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_add2::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = data_.get_attribute_value(6); return v; } @@ -12591,7 +12591,7 @@ void Ifc4x3_add2::IfcMaterialProfileWithOffsets::setOffsetValues(std::vector< do const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileWithOffsets::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[652]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[652]); } Ifc4x3_add2::IfcMaterialProfileWithOffsets::IfcMaterialProfileWithOffsets(IfcEntityInstanceData&& e) : IfcMaterialProfile(std::move(e)) { } -Ifc4x3_add2::IfcMaterialProfileWithOffsets::IfcMaterialProfileWithOffsets(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_Material, ::Ifc4x3_add2::IfcProfileDef* v4_Profile, boost::optional< int > v5_Priority, boost::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) : IfcMaterialProfile(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Material ? v3_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Profile ? v4_Profile->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } +Ifc4x3_add2::IfcMaterialProfileWithOffsets::IfcMaterialProfileWithOffsets(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_Material, ::Ifc4x3_add2::IfcProfileDef* v4_Profile, boost::optional< int > v5_Priority, boost::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) : IfcMaterialProfile(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Material ? v3_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Profile ? v4_Profile->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues));; populate_derived(); } // Function implementations for IfcMaterialProperties ::Ifc4x3_add2::IfcMaterialDefinition* Ifc4x3_add2::IfcMaterialProperties::Material() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcMaterialDefinition>(true); } @@ -12601,7 +12601,7 @@ void Ifc4x3_add2::IfcMaterialProperties::setMaterial(::Ifc4x3_add2::IfcMaterialD const IfcParse::entity& Ifc4x3_add2::IfcMaterialProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[653]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[653]); } Ifc4x3_add2::IfcMaterialProperties::IfcMaterialProperties(IfcEntityInstanceData&& e) : IfcExtendedProperties(std::move(e)) { } -Ifc4x3_add2::IfcMaterialProperties::IfcMaterialProperties(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v3_Properties, ::Ifc4x3_add2::IfcMaterialDefinition* v4_Material) : IfcExtendedProperties(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Properties)->generalize());set_attribute_value(3, v4_Material ? v4_Material->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcMaterialProperties::IfcMaterialProperties(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v3_Properties, ::Ifc4x3_add2::IfcMaterialDefinition* v4_Material) : IfcExtendedProperties(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Properties)->generalize());set_attribute_value(3, v4_Material ? v4_Material->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMaterialRelationship ::Ifc4x3_add2::IfcMaterial* Ifc4x3_add2::IfcMaterialRelationship::RelatingMaterial() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcMaterial>(true); } @@ -12615,7 +12615,7 @@ void Ifc4x3_add2::IfcMaterialRelationship::setMaterialExpression(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcMaterialRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[654]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[654]); } Ifc4x3_add2::IfcMaterialRelationship::IfcMaterialRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcMaterialRelationship::IfcMaterialRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_RelatingMaterial, aggregate_of< ::Ifc4x3_add2::IfcMaterial >::ptr v4_RelatedMaterials, boost::optional< std::string > v5_MaterialExpression) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingMaterial ? v3_RelatingMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedMaterials)->generalize()); if (v5_MaterialExpression) {set_attribute_value(4, (*v5_MaterialExpression)); } } +Ifc4x3_add2::IfcMaterialRelationship::IfcMaterialRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial* v3_RelatingMaterial, aggregate_of< ::Ifc4x3_add2::IfcMaterial >::ptr v4_RelatedMaterials, boost::optional< std::string > v5_MaterialExpression) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingMaterial ? v3_RelatingMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedMaterials)->generalize()); if (v5_MaterialExpression) {set_attribute_value(4, (*v5_MaterialExpression)); }; populate_derived(); } // Function implementations for IfcMaterialUsageDefinition @@ -12624,7 +12624,7 @@ Ifc4x3_add2::IfcMaterialRelationship::IfcMaterialRelationship(boost::optional< s const IfcParse::entity& Ifc4x3_add2::IfcMaterialUsageDefinition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[656]); } const IfcParse::entity& Ifc4x3_add2::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[656]); } Ifc4x3_add2::IfcMaterialUsageDefinition::IfcMaterialUsageDefinition(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcMaterialUsageDefinition::IfcMaterialUsageDefinition() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcMaterialUsageDefinition::IfcMaterialUsageDefinition() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcMeasureWithUnit ::Ifc4x3_add2::IfcValue* Ifc4x3_add2::IfcMeasureWithUnit::ValueComponent() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcValue>(true); } @@ -12636,7 +12636,7 @@ void Ifc4x3_add2::IfcMeasureWithUnit::setUnitComponent(::Ifc4x3_add2::IfcUnit* v const IfcParse::entity& Ifc4x3_add2::IfcMeasureWithUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[658]); } const IfcParse::entity& Ifc4x3_add2::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[658]); } Ifc4x3_add2::IfcMeasureWithUnit::IfcMeasureWithUnit(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcMeasureWithUnit::IfcMeasureWithUnit(::Ifc4x3_add2::IfcValue* v1_ValueComponent, ::Ifc4x3_add2::IfcUnit* v2_UnitComponent) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_ValueComponent ? v1_ValueComponent->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_UnitComponent ? v2_UnitComponent->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcMeasureWithUnit::IfcMeasureWithUnit(::Ifc4x3_add2::IfcValue* v1_ValueComponent, ::Ifc4x3_add2::IfcUnit* v2_UnitComponent) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_ValueComponent ? v1_ValueComponent->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_UnitComponent ? v2_UnitComponent->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMechanicalFastener boost::optional< double > Ifc4x3_add2::IfcMechanicalFastener::NominalDiameter() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } double v = data_.get_attribute_value(8); return v; } @@ -12650,7 +12650,7 @@ void Ifc4x3_add2::IfcMechanicalFastener::setPredefinedType(boost::optional< ::If const IfcParse::entity& Ifc4x3_add2::IfcMechanicalFastener::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[659]); } const IfcParse::entity& Ifc4x3_add2::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[659]); } Ifc4x3_add2::IfcMechanicalFastener::IfcMechanicalFastener(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcMechanicalFastener::IfcMechanicalFastener(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< double > v9_NominalDiameter, boost::optional< double > v10_NominalLength, boost::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_NominalDiameter) {set_attribute_value(8, (*v9_NominalDiameter)); } if (v10_NominalLength) {set_attribute_value(9, (*v10_NominalLength)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcMechanicalFastener::IfcMechanicalFastener(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< double > v9_NominalDiameter, boost::optional< double > v10_NominalLength, boost::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_NominalDiameter) {set_attribute_value(8, (*v9_NominalDiameter)); } if (v10_NominalLength) {set_attribute_value(9, (*v10_NominalLength)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_add2::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12664,7 +12664,7 @@ void Ifc4x3_add2::IfcMechanicalFastenerType::setNominalLength(boost::optional< d const IfcParse::entity& Ifc4x3_add2::IfcMechanicalFastenerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[660]); } const IfcParse::entity& Ifc4x3_add2::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[660]); } Ifc4x3_add2::IfcMechanicalFastenerType::IfcMechanicalFastenerType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcMechanicalFastenerType::IfcMechanicalFastenerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_NominalLength) : IfcElementComponentType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +Ifc4x3_add2::IfcMechanicalFastenerType::IfcMechanicalFastenerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_NominalLength) : IfcElementComponentType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); }; populate_derived(); } // Function implementations for IfcMedicalDevice boost::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_add2::IfcMedicalDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12674,7 +12674,7 @@ void Ifc4x3_add2::IfcMedicalDevice::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcMedicalDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[662]); } const IfcParse::entity& Ifc4x3_add2::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[662]); } Ifc4x3_add2::IfcMedicalDevice::IfcMedicalDevice(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcMedicalDevice::IfcMedicalDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcMedicalDevice::IfcMedicalDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value Ifc4x3_add2::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12684,7 +12684,7 @@ void Ifc4x3_add2::IfcMedicalDeviceType::setPredefinedType(::Ifc4x3_add2::IfcMedi const IfcParse::entity& Ifc4x3_add2::IfcMedicalDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[663]); } const IfcParse::entity& Ifc4x3_add2::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[663]); } Ifc4x3_add2::IfcMedicalDeviceType::IfcMedicalDeviceType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcMedicalDeviceType::IfcMedicalDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcMedicalDeviceType::IfcMedicalDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcMember boost::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > Ifc4x3_add2::IfcMember::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcMemberTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12694,7 +12694,7 @@ void Ifc4x3_add2::IfcMember::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcMember::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[665]); } const IfcParse::entity& Ifc4x3_add2::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[665]); } Ifc4x3_add2::IfcMember::IfcMember(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcMember::IfcMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcMember::IfcMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMemberType ::Ifc4x3_add2::IfcMemberTypeEnum::Value Ifc4x3_add2::IfcMemberType::PredefinedType() const { return ::Ifc4x3_add2::IfcMemberTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12704,7 +12704,7 @@ void Ifc4x3_add2::IfcMemberType::setPredefinedType(::Ifc4x3_add2::IfcMemberTypeE const IfcParse::entity& Ifc4x3_add2::IfcMemberType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[666]); } const IfcParse::entity& Ifc4x3_add2::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[666]); } Ifc4x3_add2::IfcMemberType::IfcMemberType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcMemberType::IfcMemberType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMemberTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcMemberType::IfcMemberType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMemberTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcMetric ::Ifc4x3_add2::IfcBenchmarkEnum::Value Ifc4x3_add2::IfcMetric::Benchmark() const { return ::Ifc4x3_add2::IfcBenchmarkEnum::FromString(data_.get_attribute_value(7)); } @@ -12720,7 +12720,7 @@ void Ifc4x3_add2::IfcMetric::setReferencePath(::Ifc4x3_add2::IfcReference* v) { const IfcParse::entity& Ifc4x3_add2::IfcMetric::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[668]); } const IfcParse::entity& Ifc4x3_add2::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[668]); } Ifc4x3_add2::IfcMetric::IfcMetric(IfcEntityInstanceData&& e) : IfcConstraint(std::move(e)) { } -Ifc4x3_add2::IfcMetric::IfcMetric(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, boost::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect* v5_CreatingActor, boost::optional< std::string > v6_CreationTime, boost::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add2::IfcBenchmarkEnum::Value v8_Benchmark, boost::optional< std::string > v9_ValueSource, ::Ifc4x3_add2::IfcMetricValueSelect* v10_DataValue, ::Ifc4x3_add2::IfcReference* v11_ReferencePath) : IfcConstraint(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, v5_CreatingActor ? v5_CreatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, v10_DataValue ? v10_DataValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_ReferencePath ? v11_ReferencePath->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcMetric::IfcMetric(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, boost::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect* v5_CreatingActor, boost::optional< std::string > v6_CreationTime, boost::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add2::IfcBenchmarkEnum::Value v8_Benchmark, boost::optional< std::string > v9_ValueSource, ::Ifc4x3_add2::IfcMetricValueSelect* v10_DataValue, ::Ifc4x3_add2::IfcReference* v11_ReferencePath) : IfcConstraint(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, v5_CreatingActor ? v5_CreatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, v10_DataValue ? v10_DataValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_ReferencePath ? v11_ReferencePath->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcMirroredProfileDef @@ -12728,7 +12728,7 @@ Ifc4x3_add2::IfcMetric::IfcMetric(std::string v1_Name, boost::optional< std::str const IfcParse::entity& Ifc4x3_add2::IfcMirroredProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[670]); } const IfcParse::entity& Ifc4x3_add2::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[670]); } Ifc4x3_add2::IfcMirroredProfileDef::IfcMirroredProfileDef(IfcEntityInstanceData&& e) : IfcDerivedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcMirroredProfileDef::IfcMirroredProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef* v3_ParentProfile, boost::optional< std::string > v5_Label) : IfcDerivedProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_ParentProfile ? v3_ParentProfile->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +Ifc4x3_add2::IfcMirroredProfileDef::IfcMirroredProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef* v3_ParentProfile, boost::optional< std::string > v5_Label) : IfcDerivedProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_ParentProfile ? v3_ParentProfile->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Label) {set_attribute_value(4, (*v5_Label)); }; populate_derived(); } // Function implementations for IfcMobileTelecommunicationsAppliance boost::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12738,7 +12738,7 @@ void Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::setPredefinedType(boost: const IfcParse::entity& Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[671]); } const IfcParse::entity& Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[671]); } Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::IfcMobileTelecommunicationsAppliance(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::IfcMobileTelecommunicationsAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::IfcMobileTelecommunicationsAppliance(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12748,7 +12748,7 @@ void Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::setPredefinedType(:: const IfcParse::entity& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[672]); } const IfcParse::entity& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[672]); } Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::IfcMobileTelecommunicationsApplianceType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::IfcMobileTelecommunicationsApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::IfcMobileTelecommunicationsApplianceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_add2::IfcMonetaryUnit::Currency() const { std::string v = data_.get_attribute_value(0); return v; } @@ -12758,7 +12758,7 @@ void Ifc4x3_add2::IfcMonetaryUnit::setCurrency(std::string v) { set_attribute_va const IfcParse::entity& Ifc4x3_add2::IfcMonetaryUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[685]); } const IfcParse::entity& Ifc4x3_add2::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[685]); } Ifc4x3_add2::IfcMonetaryUnit::IfcMonetaryUnit(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcMonetaryUnit::IfcMonetaryUnit(std::string v1_Currency) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Currency)); } +Ifc4x3_add2::IfcMonetaryUnit::IfcMonetaryUnit(std::string v1_Currency) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Currency));; populate_derived(); } // Function implementations for IfcMooringDevice boost::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > Ifc4x3_add2::IfcMooringDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12768,7 +12768,7 @@ void Ifc4x3_add2::IfcMooringDevice::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcMooringDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[687]); } const IfcParse::entity& Ifc4x3_add2::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[687]); } Ifc4x3_add2::IfcMooringDevice::IfcMooringDevice(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcMooringDevice::IfcMooringDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcMooringDevice::IfcMooringDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMooringDeviceType ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value Ifc4x3_add2::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12778,7 +12778,7 @@ void Ifc4x3_add2::IfcMooringDeviceType::setPredefinedType(::Ifc4x3_add2::IfcMoor const IfcParse::entity& Ifc4x3_add2::IfcMooringDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[688]); } const IfcParse::entity& Ifc4x3_add2::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[688]); } Ifc4x3_add2::IfcMooringDeviceType::IfcMooringDeviceType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcMooringDeviceType::IfcMooringDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcMooringDeviceType::IfcMooringDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcMotorConnection boost::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > Ifc4x3_add2::IfcMotorConnection::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12788,7 +12788,7 @@ void Ifc4x3_add2::IfcMotorConnection::setPredefinedType(boost::optional< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcMotorConnection::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[690]); } const IfcParse::entity& Ifc4x3_add2::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[690]); } Ifc4x3_add2::IfcMotorConnection::IfcMotorConnection(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcMotorConnection::IfcMotorConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcMotorConnection::IfcMotorConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcMotorConnectionType ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value Ifc4x3_add2::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12798,7 +12798,7 @@ void Ifc4x3_add2::IfcMotorConnectionType::setPredefinedType(::Ifc4x3_add2::IfcMo const IfcParse::entity& Ifc4x3_add2::IfcMotorConnectionType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[691]); } const IfcParse::entity& Ifc4x3_add2::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[691]); } Ifc4x3_add2::IfcMotorConnectionType::IfcMotorConnectionType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcMotorConnectionType::IfcMotorConnectionType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcMotorConnectionType::IfcMotorConnectionType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcNamedUnit ::Ifc4x3_add2::IfcDimensionalExponents* Ifc4x3_add2::IfcNamedUnit::Dimensions() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcDimensionalExponents>(true); } @@ -12810,7 +12810,7 @@ void Ifc4x3_add2::IfcNamedUnit::setUnitType(::Ifc4x3_add2::IfcUnitEnum::Value v) const IfcParse::entity& Ifc4x3_add2::IfcNamedUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[693]); } const IfcParse::entity& Ifc4x3_add2::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[693]); } Ifc4x3_add2::IfcNamedUnit::IfcNamedUnit(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcNamedUnit::IfcNamedUnit(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +Ifc4x3_add2::IfcNamedUnit::IfcNamedUnit(::Ifc4x3_add2::IfcDimensionalExponents* v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Dimensions ? v1_Dimensions->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));; populate_derived(); } // Function implementations for IfcNavigationElement boost::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > Ifc4x3_add2::IfcNavigationElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcNavigationElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12820,7 +12820,7 @@ void Ifc4x3_add2::IfcNavigationElement::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcNavigationElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[694]); } const IfcParse::entity& Ifc4x3_add2::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[694]); } Ifc4x3_add2::IfcNavigationElement::IfcNavigationElement(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcNavigationElement::IfcNavigationElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcNavigationElement::IfcNavigationElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcNavigationElementType ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value Ifc4x3_add2::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcNavigationElementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -12830,7 +12830,7 @@ void Ifc4x3_add2::IfcNavigationElementType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcNavigationElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[695]); } const IfcParse::entity& Ifc4x3_add2::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[695]); } Ifc4x3_add2::IfcNavigationElementType::IfcNavigationElementType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcNavigationElementType::IfcNavigationElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcNavigationElementType::IfcNavigationElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcObject boost::optional< std::string > Ifc4x3_add2::IfcObject::ObjectType() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(4); return v; } @@ -12844,7 +12844,7 @@ void Ifc4x3_add2::IfcObject::setObjectType(boost::optional< std::string > v) { i const IfcParse::entity& Ifc4x3_add2::IfcObject::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[700]); } const IfcParse::entity& Ifc4x3_add2::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[700]); } Ifc4x3_add2::IfcObject::IfcObject(IfcEntityInstanceData&& e) : IfcObjectDefinition(std::move(e)) { } -Ifc4x3_add2::IfcObject::IfcObject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType) : IfcObjectDefinition(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } +Ifc4x3_add2::IfcObject::IfcObject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType) : IfcObjectDefinition(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }; populate_derived(); } // Function implementations for IfcObjectDefinition @@ -12859,7 +12859,7 @@ Ifc4x3_add2::IfcObject::IfcObject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwn const IfcParse::entity& Ifc4x3_add2::IfcObjectDefinition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[701]); } const IfcParse::entity& Ifc4x3_add2::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[701]); } Ifc4x3_add2::IfcObjectDefinition::IfcObjectDefinition(IfcEntityInstanceData&& e) : IfcRoot(std::move(e)) { } -Ifc4x3_add2::IfcObjectDefinition::IfcObjectDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRoot(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcObjectDefinition::IfcObjectDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRoot(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcObjectPlacement ::Ifc4x3_add2::IfcObjectPlacement* Ifc4x3_add2::IfcObjectPlacement::PlacementRelTo() const { if(data_.get_attribute_value(0).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcObjectPlacement>(true); } @@ -12871,7 +12871,7 @@ void Ifc4x3_add2::IfcObjectPlacement::setPlacementRelTo(::Ifc4x3_add2::IfcObject const IfcParse::entity& Ifc4x3_add2::IfcObjectPlacement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[704]); } const IfcParse::entity& Ifc4x3_add2::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[704]); } Ifc4x3_add2::IfcObjectPlacement::IfcObjectPlacement(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcObjectPlacement::IfcObjectPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcObjectPlacement::IfcObjectPlacement(::Ifc4x3_add2::IfcObjectPlacement* v1_PlacementRelTo) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_PlacementRelTo ? v1_PlacementRelTo->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcObjective boost::optional< aggregate_of< ::Ifc4x3_add2::IfcConstraint >::ptr > Ifc4x3_add2::IfcObjective::BenchmarkValues() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(7); return es->as< ::Ifc4x3_add2::IfcConstraint >(); } @@ -12887,7 +12887,7 @@ void Ifc4x3_add2::IfcObjective::setUserDefinedQualifier(boost::optional< std::st const IfcParse::entity& Ifc4x3_add2::IfcObjective::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[702]); } const IfcParse::entity& Ifc4x3_add2::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[702]); } Ifc4x3_add2::IfcObjective::IfcObjective(IfcEntityInstanceData&& e) : IfcConstraint(std::move(e)) { } -Ifc4x3_add2::IfcObjective::IfcObjective(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, boost::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect* v5_CreatingActor, boost::optional< std::string > v6_CreationTime, boost::optional< std::string > v7_UserDefinedGrade, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcConstraint >::ptr > v8_BenchmarkValues, boost::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, boost::optional< std::string > v11_UserDefinedQualifier) : IfcConstraint(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, v5_CreatingActor ? v5_CreatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } if (v8_BenchmarkValues) {set_attribute_value(7, (*v8_BenchmarkValues)->generalize()); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +Ifc4x3_add2::IfcObjective::IfcObjective(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, boost::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect* v5_CreatingActor, boost::optional< std::string > v6_CreationTime, boost::optional< std::string > v7_UserDefinedGrade, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcConstraint >::ptr > v8_BenchmarkValues, boost::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, boost::optional< std::string > v11_UserDefinedQualifier) : IfcConstraint(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, v5_CreatingActor ? v5_CreatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } if (v8_BenchmarkValues) {set_attribute_value(7, (*v8_BenchmarkValues)->generalize()); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); }; populate_derived(); } // Function implementations for IfcOccupant boost::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > Ifc4x3_add2::IfcOccupant::PredefinedType() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcOccupantTypeEnum::FromString(data_.get_attribute_value(6)); } @@ -12897,7 +12897,7 @@ void Ifc4x3_add2::IfcOccupant::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcOccupant::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[706]); } const IfcParse::entity& Ifc4x3_add2::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[706]); } Ifc4x3_add2::IfcOccupant::IfcOccupant(IfcEntityInstanceData&& e) : IfcActor(std::move(e)) { } -Ifc4x3_add2::IfcOccupant::IfcOccupant(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect* v6_TheActor, boost::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > v7_PredefinedType) : IfcActor(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_TheActor ? v6_TheActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +Ifc4x3_add2::IfcOccupant::IfcOccupant(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect* v6_TheActor, boost::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > v7_PredefinedType) : IfcActor(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_TheActor ? v6_TheActor->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); }; populate_derived(); } // Function implementations for IfcOffsetCurve ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcOffsetCurve::BasisCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -12907,7 +12907,7 @@ void Ifc4x3_add2::IfcOffsetCurve::setBasisCurve(::Ifc4x3_add2::IfcCurve* v) { se const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[708]); } const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[708]); } Ifc4x3_add2::IfcOffsetCurve::IfcOffsetCurve(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcOffsetCurve::IfcOffsetCurve(::Ifc4x3_add2::IfcCurve* v1_BasisCurve) : IfcCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcOffsetCurve::IfcOffsetCurve(::Ifc4x3_add2::IfcCurve* v1_BasisCurve) : IfcCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcOffsetCurve2D double Ifc4x3_add2::IfcOffsetCurve2D::Distance() const { double v = data_.get_attribute_value(1); return v; } @@ -12919,7 +12919,7 @@ void Ifc4x3_add2::IfcOffsetCurve2D::setSelfIntersect(boost::logic::tribool v) { const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve2D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[709]); } const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[709]); } Ifc4x3_add2::IfcOffsetCurve2D::IfcOffsetCurve2D(IfcEntityInstanceData&& e) : IfcOffsetCurve(std::move(e)) { } -Ifc4x3_add2::IfcOffsetCurve2D::IfcOffsetCurve2D(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) : IfcOffsetCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } +Ifc4x3_add2::IfcOffsetCurve2D::IfcOffsetCurve2D(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) : IfcOffsetCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));; populate_derived(); } // Function implementations for IfcOffsetCurve3D double Ifc4x3_add2::IfcOffsetCurve3D::Distance() const { double v = data_.get_attribute_value(1); return v; } @@ -12933,7 +12933,7 @@ void Ifc4x3_add2::IfcOffsetCurve3D::setRefDirection(::Ifc4x3_add2::IfcDirection* const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve3D::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[710]); } const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[710]); } Ifc4x3_add2::IfcOffsetCurve3D::IfcOffsetCurve3D(IfcEntityInstanceData&& e) : IfcOffsetCurve(std::move(e)) { } -Ifc4x3_add2::IfcOffsetCurve3D::IfcOffsetCurve3D(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_add2::IfcDirection* v4_RefDirection) : IfcOffsetCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, v4_RefDirection ? v4_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcOffsetCurve3D::IfcOffsetCurve3D(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_add2::IfcDirection* v4_RefDirection) : IfcOffsetCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, v4_RefDirection ? v4_RefDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcOffsetCurveByDistances aggregate_of< ::Ifc4x3_add2::IfcPointByDistanceExpression >::ptr Ifc4x3_add2::IfcOffsetCurveByDistances::OffsetValues() const { aggregate_of_instance::ptr es = data_.get_attribute_value(1); return es->as< ::Ifc4x3_add2::IfcPointByDistanceExpression >(); } @@ -12945,7 +12945,7 @@ void Ifc4x3_add2::IfcOffsetCurveByDistances::setTag(boost::optional< std::string const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurveByDistances::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[711]); } const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[711]); } Ifc4x3_add2::IfcOffsetCurveByDistances::IfcOffsetCurveByDistances(IfcEntityInstanceData&& e) : IfcOffsetCurve(std::move(e)) { } -Ifc4x3_add2::IfcOffsetCurveByDistances::IfcOffsetCurveByDistances(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, aggregate_of< ::Ifc4x3_add2::IfcPointByDistanceExpression >::ptr v2_OffsetValues, boost::optional< std::string > v3_Tag) : IfcOffsetCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_OffsetValues)->generalize()); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } +Ifc4x3_add2::IfcOffsetCurveByDistances::IfcOffsetCurveByDistances(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, aggregate_of< ::Ifc4x3_add2::IfcPointByDistanceExpression >::ptr v2_OffsetValues, boost::optional< std::string > v3_Tag) : IfcOffsetCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_OffsetValues)->generalize()); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); }; populate_derived(); } // Function implementations for IfcOpenCrossProfileDef bool Ifc4x3_add2::IfcOpenCrossProfileDef::HorizontalWidths() const { bool v = data_.get_attribute_value(2); return v; } @@ -12963,7 +12963,7 @@ void Ifc4x3_add2::IfcOpenCrossProfileDef::setOffsetPoint(::Ifc4x3_add2::IfcCarte const IfcParse::entity& Ifc4x3_add2::IfcOpenCrossProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[712]); } const IfcParse::entity& Ifc4x3_add2::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[712]); } Ifc4x3_add2::IfcOpenCrossProfileDef::IfcOpenCrossProfileDef(IfcEntityInstanceData&& e) : IfcProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcOpenCrossProfileDef::IfcOpenCrossProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, boost::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add2::IfcCartesianPoint* v7_OffsetPoint) : IfcProfileDef(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_HorizontalWidths));set_attribute_value(3, (v4_Widths));set_attribute_value(4, (v5_Slopes)); if (v6_Tags) {set_attribute_value(5, (*v6_Tags)); }set_attribute_value(6, v7_OffsetPoint ? v7_OffsetPoint->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcOpenCrossProfileDef::IfcOpenCrossProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, boost::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add2::IfcCartesianPoint* v7_OffsetPoint) : IfcProfileDef(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_HorizontalWidths));set_attribute_value(3, (v4_Widths));set_attribute_value(4, (v5_Slopes)); if (v6_Tags) {set_attribute_value(5, (*v6_Tags)); }set_attribute_value(6, v7_OffsetPoint ? v7_OffsetPoint->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcOpenShell @@ -12971,7 +12971,7 @@ Ifc4x3_add2::IfcOpenCrossProfileDef::IfcOpenCrossProfileDef(::Ifc4x3_add2::IfcPr const IfcParse::entity& Ifc4x3_add2::IfcOpenShell::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[715]); } const IfcParse::entity& Ifc4x3_add2::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[715]); } Ifc4x3_add2::IfcOpenShell::IfcOpenShell(IfcEntityInstanceData&& e) : IfcConnectedFaceSet(std::move(e)) { } -Ifc4x3_add2::IfcOpenShell::IfcOpenShell(aggregate_of< ::Ifc4x3_add2::IfcFace >::ptr v1_CfsFaces) : IfcConnectedFaceSet(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CfsFaces)->generalize()); } +Ifc4x3_add2::IfcOpenShell::IfcOpenShell(aggregate_of< ::Ifc4x3_add2::IfcFace >::ptr v1_CfsFaces) : IfcConnectedFaceSet(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_CfsFaces)->generalize());; populate_derived(); } // Function implementations for IfcOpeningElement boost::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value > Ifc4x3_add2::IfcOpeningElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcOpeningElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -12982,7 +12982,7 @@ void Ifc4x3_add2::IfcOpeningElement::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcOpeningElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[713]); } const IfcParse::entity& Ifc4x3_add2::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[713]); } Ifc4x3_add2::IfcOpeningElement::IfcOpeningElement(IfcEntityInstanceData&& e) : IfcFeatureElementSubtraction(std::move(e)) { } -Ifc4x3_add2::IfcOpeningElement::IfcOpeningElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementSubtraction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcOpeningElement::IfcOpeningElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementSubtraction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcOrganization boost::optional< std::string > Ifc4x3_add2::IfcOrganization::Identification() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -13003,7 +13003,7 @@ void Ifc4x3_add2::IfcOrganization::setAddresses(boost::optional< aggregate_of< : const IfcParse::entity& Ifc4x3_add2::IfcOrganization::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[716]); } const IfcParse::entity& Ifc4x3_add2::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[716]); } Ifc4x3_add2::IfcOrganization::IfcOrganization(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcOrganization::IfcOrganization(boost::optional< std::string > v1_Identification, std::string v2_Name, boost::optional< std::string > v3_Description, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorRole >::ptr > v4_Roles, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAddress >::ptr > v5_Addresses) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { if (v1_Identification) {set_attribute_value(0, (*v1_Identification)); }set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_Roles) {set_attribute_value(3, (*v4_Roles)->generalize()); } if (v5_Addresses) {set_attribute_value(4, (*v5_Addresses)->generalize()); } } +Ifc4x3_add2::IfcOrganization::IfcOrganization(boost::optional< std::string > v1_Identification, std::string v2_Name, boost::optional< std::string > v3_Description, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorRole >::ptr > v4_Roles, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAddress >::ptr > v5_Addresses) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { if (v1_Identification) {set_attribute_value(0, (*v1_Identification)); }set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_Roles) {set_attribute_value(3, (*v4_Roles)->generalize()); } if (v5_Addresses) {set_attribute_value(4, (*v5_Addresses)->generalize()); }; populate_derived(); } // Function implementations for IfcOrganizationRelationship ::Ifc4x3_add2::IfcOrganization* Ifc4x3_add2::IfcOrganizationRelationship::RelatingOrganization() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcOrganization>(true); } @@ -13015,7 +13015,7 @@ void Ifc4x3_add2::IfcOrganizationRelationship::setRelatedOrganizations(aggregate const IfcParse::entity& Ifc4x3_add2::IfcOrganizationRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[717]); } const IfcParse::entity& Ifc4x3_add2::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[717]); } Ifc4x3_add2::IfcOrganizationRelationship::IfcOrganizationRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcOrganizationRelationship::IfcOrganizationRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcOrganization* v3_RelatingOrganization, aggregate_of< ::Ifc4x3_add2::IfcOrganization >::ptr v4_RelatedOrganizations) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingOrganization ? v3_RelatingOrganization->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedOrganizations)->generalize()); } +Ifc4x3_add2::IfcOrganizationRelationship::IfcOrganizationRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcOrganization* v3_RelatingOrganization, aggregate_of< ::Ifc4x3_add2::IfcOrganization >::ptr v4_RelatedOrganizations) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingOrganization ? v3_RelatingOrganization->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedOrganizations)->generalize());; populate_derived(); } // Function implementations for IfcOrientedEdge ::Ifc4x3_add2::IfcEdge* Ifc4x3_add2::IfcOrientedEdge::EdgeElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcEdge>(true); } @@ -13027,7 +13027,7 @@ void Ifc4x3_add2::IfcOrientedEdge::setOrientation(bool v) { set_attribute_value( const IfcParse::entity& Ifc4x3_add2::IfcOrientedEdge::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[718]); } const IfcParse::entity& Ifc4x3_add2::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[718]); } Ifc4x3_add2::IfcOrientedEdge::IfcOrientedEdge(IfcEntityInstanceData&& e) : IfcEdge(std::move(e)) { } -Ifc4x3_add2::IfcOrientedEdge::IfcOrientedEdge(::Ifc4x3_add2::IfcEdge* v3_EdgeElement, bool v4_Orientation) : IfcEdge(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(2, v3_EdgeElement ? v3_EdgeElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Orientation)); } +Ifc4x3_add2::IfcOrientedEdge::IfcOrientedEdge(::Ifc4x3_add2::IfcEdge* v3_EdgeElement, bool v4_Orientation) : IfcEdge(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(2, v3_EdgeElement ? v3_EdgeElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Orientation));; populate_derived(); } // Function implementations for IfcOuterBoundaryCurve @@ -13035,7 +13035,7 @@ Ifc4x3_add2::IfcOrientedEdge::IfcOrientedEdge(::Ifc4x3_add2::IfcEdge* v3_EdgeEle const IfcParse::entity& Ifc4x3_add2::IfcOuterBoundaryCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[719]); } const IfcParse::entity& Ifc4x3_add2::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[719]); } Ifc4x3_add2::IfcOuterBoundaryCurve::IfcOuterBoundaryCurve(IfcEntityInstanceData&& e) : IfcBoundaryCurve(std::move(e)) { } -Ifc4x3_add2::IfcOuterBoundaryCurve::IfcOuterBoundaryCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcBoundaryCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect)); } +Ifc4x3_add2::IfcOuterBoundaryCurve::IfcOuterBoundaryCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect) : IfcBoundaryCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));; populate_derived(); } // Function implementations for IfcOutlet boost::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > Ifc4x3_add2::IfcOutlet::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcOutletTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -13045,7 +13045,7 @@ void Ifc4x3_add2::IfcOutlet::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcOutlet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[720]); } const IfcParse::entity& Ifc4x3_add2::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[720]); } Ifc4x3_add2::IfcOutlet::IfcOutlet(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcOutlet::IfcOutlet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcOutlet::IfcOutlet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcOutletType ::Ifc4x3_add2::IfcOutletTypeEnum::Value Ifc4x3_add2::IfcOutletType::PredefinedType() const { return ::Ifc4x3_add2::IfcOutletTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -13055,7 +13055,7 @@ void Ifc4x3_add2::IfcOutletType::setPredefinedType(::Ifc4x3_add2::IfcOutletTypeE const IfcParse::entity& Ifc4x3_add2::IfcOutletType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[721]); } const IfcParse::entity& Ifc4x3_add2::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[721]); } Ifc4x3_add2::IfcOutletType::IfcOutletType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcOutletType::IfcOutletType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcOutletTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcOutletType::IfcOutletType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcOutletTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcOwnerHistory ::Ifc4x3_add2::IfcPersonAndOrganization* Ifc4x3_add2::IfcOwnerHistory::OwningUser() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcPersonAndOrganization>(true); } @@ -13079,7 +13079,7 @@ void Ifc4x3_add2::IfcOwnerHistory::setCreationDate(int v) { set_attribute_value( const IfcParse::entity& Ifc4x3_add2::IfcOwnerHistory::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[723]); } const IfcParse::entity& Ifc4x3_add2::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[723]); } Ifc4x3_add2::IfcOwnerHistory::IfcOwnerHistory(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcOwnerHistory::IfcOwnerHistory(::Ifc4x3_add2::IfcPersonAndOrganization* v1_OwningUser, ::Ifc4x3_add2::IfcApplication* v2_OwningApplication, boost::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v3_State, boost::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value > v4_ChangeAction, boost::optional< int > v5_LastModifiedDate, ::Ifc4x3_add2::IfcPersonAndOrganization* v6_LastModifyingUser, ::Ifc4x3_add2::IfcApplication* v7_LastModifyingApplication, int v8_CreationDate) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, v1_OwningUser ? v1_OwningUser->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_OwningApplication ? v2_OwningApplication->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, v6_LastModifyingUser ? v6_LastModifyingUser->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_LastModifyingApplication ? v7_LastModifyingApplication->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_CreationDate)); } +Ifc4x3_add2::IfcOwnerHistory::IfcOwnerHistory(::Ifc4x3_add2::IfcPersonAndOrganization* v1_OwningUser, ::Ifc4x3_add2::IfcApplication* v2_OwningApplication, boost::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v3_State, boost::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value > v4_ChangeAction, boost::optional< int > v5_LastModifiedDate, ::Ifc4x3_add2::IfcPersonAndOrganization* v6_LastModifyingUser, ::Ifc4x3_add2::IfcApplication* v7_LastModifyingApplication, int v8_CreationDate) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, v1_OwningUser ? v1_OwningUser->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_OwningApplication ? v2_OwningApplication->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, v6_LastModifyingUser ? v6_LastModifyingUser->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_LastModifyingApplication ? v7_LastModifyingApplication->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_CreationDate));; populate_derived(); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_add2::IfcAxis2Placement2D* Ifc4x3_add2::IfcParameterizedProfileDef::Position() const { if(data_.get_attribute_value(2).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcAxis2Placement2D>(true); } @@ -13089,7 +13089,7 @@ void Ifc4x3_add2::IfcParameterizedProfileDef::setPosition(::Ifc4x3_add2::IfcAxis const IfcParse::entity& Ifc4x3_add2::IfcParameterizedProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[724]); } const IfcParse::entity& Ifc4x3_add2::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[724]); } Ifc4x3_add2::IfcParameterizedProfileDef::IfcParameterizedProfileDef(IfcEntityInstanceData&& e) : IfcProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcParameterizedProfileDef::IfcParameterizedProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position) : IfcProfileDef(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcParameterizedProfileDef::IfcParameterizedProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position) : IfcProfileDef(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPath aggregate_of< ::Ifc4x3_add2::IfcOrientedEdge >::ptr Ifc4x3_add2::IfcPath::EdgeList() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcOrientedEdge >(); } @@ -13099,7 +13099,7 @@ void Ifc4x3_add2::IfcPath::setEdgeList(aggregate_of< ::Ifc4x3_add2::IfcOrientedE const IfcParse::entity& Ifc4x3_add2::IfcPath::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[726]); } const IfcParse::entity& Ifc4x3_add2::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[726]); } Ifc4x3_add2::IfcPath::IfcPath(IfcEntityInstanceData&& e) : IfcTopologicalRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcPath::IfcPath(aggregate_of< ::Ifc4x3_add2::IfcOrientedEdge >::ptr v1_EdgeList) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_EdgeList)->generalize()); } +Ifc4x3_add2::IfcPath::IfcPath(aggregate_of< ::Ifc4x3_add2::IfcOrientedEdge >::ptr v1_EdgeList) : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_EdgeList)->generalize());; populate_derived(); } // Function implementations for IfcPavement boost::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > Ifc4x3_add2::IfcPavement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPavementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -13109,7 +13109,7 @@ void Ifc4x3_add2::IfcPavement::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcPavement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[727]); } const IfcParse::entity& Ifc4x3_add2::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[727]); } Ifc4x3_add2::IfcPavement::IfcPavement(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcPavement::IfcPavement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcPavement::IfcPavement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcPavementType ::Ifc4x3_add2::IfcPavementTypeEnum::Value Ifc4x3_add2::IfcPavementType::PredefinedType() const { return ::Ifc4x3_add2::IfcPavementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -13119,7 +13119,7 @@ void Ifc4x3_add2::IfcPavementType::setPredefinedType(::Ifc4x3_add2::IfcPavementT const IfcParse::entity& Ifc4x3_add2::IfcPavementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[728]); } const IfcParse::entity& Ifc4x3_add2::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[728]); } Ifc4x3_add2::IfcPavementType::IfcPavementType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcPavementType::IfcPavementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPavementTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcPavementType::IfcPavementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPavementTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcPcurve ::Ifc4x3_add2::IfcSurface* Ifc4x3_add2::IfcPcurve::BasisSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSurface>(true); } @@ -13131,7 +13131,7 @@ void Ifc4x3_add2::IfcPcurve::setReferenceCurve(::Ifc4x3_add2::IfcCurve* v) { set const IfcParse::entity& Ifc4x3_add2::IfcPcurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[730]); } const IfcParse::entity& Ifc4x3_add2::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[730]); } Ifc4x3_add2::IfcPcurve::IfcPcurve(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcPcurve::IfcPcurve(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, ::Ifc4x3_add2::IfcCurve* v2_ReferenceCurve) : IfcCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_ReferenceCurve ? v2_ReferenceCurve->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPcurve::IfcPcurve(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, ::Ifc4x3_add2::IfcCurve* v2_ReferenceCurve) : IfcCurve(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_ReferenceCurve ? v2_ReferenceCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_add2::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = data_.get_attribute_value(6); return v; } @@ -13143,7 +13143,7 @@ void Ifc4x3_add2::IfcPerformanceHistory::setPredefinedType(boost::optional< ::If const IfcParse::entity& Ifc4x3_add2::IfcPerformanceHistory::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[731]); } const IfcParse::entity& Ifc4x3_add2::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[731]); } Ifc4x3_add2::IfcPerformanceHistory::IfcPerformanceHistory(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcPerformanceHistory::IfcPerformanceHistory(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, boost::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) : IfcControl(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_LifeCyclePhase)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +Ifc4x3_add2::IfcPerformanceHistory::IfcPerformanceHistory(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, boost::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) : IfcControl(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_LifeCyclePhase)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; populate_derived(); } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value Ifc4x3_add2::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::FromString(data_.get_attribute_value(4)); } @@ -13161,7 +13161,7 @@ void Ifc4x3_add2::IfcPermeableCoveringProperties::setShapeAspectStyle(::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcPermeableCoveringProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[734]); } const IfcParse::entity& Ifc4x3_add2::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[734]); } Ifc4x3_add2::IfcPermeableCoveringProperties::IfcPermeableCoveringProperties(IfcEntityInstanceData&& e) : IfcPreDefinedPropertySet(std::move(e)) { } -Ifc4x3_add2::IfcPermeableCoveringProperties::IfcPermeableCoveringProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, boost::optional< double > v7_FrameDepth, boost::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect* v9_ShapeAspectStyle) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(),(size_t)v6_PanelPosition))); if (v7_FrameDepth) {set_attribute_value(6, (*v7_FrameDepth)); } if (v8_FrameThickness) {set_attribute_value(7, (*v8_FrameThickness)); }set_attribute_value(8, v9_ShapeAspectStyle ? v9_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPermeableCoveringProperties::IfcPermeableCoveringProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, boost::optional< double > v7_FrameDepth, boost::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect* v9_ShapeAspectStyle) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(),(size_t)v6_PanelPosition))); if (v7_FrameDepth) {set_attribute_value(6, (*v7_FrameDepth)); } if (v8_FrameThickness) {set_attribute_value(7, (*v8_FrameThickness)); }set_attribute_value(8, v9_ShapeAspectStyle ? v9_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPermit boost::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value > Ifc4x3_add2::IfcPermit::PredefinedType() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPermitTypeEnum::FromString(data_.get_attribute_value(6)); } @@ -13175,7 +13175,7 @@ void Ifc4x3_add2::IfcPermit::setLongDescription(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcPermit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[735]); } const IfcParse::entity& Ifc4x3_add2::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[735]); } Ifc4x3_add2::IfcPermit::IfcPermit(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcPermit::IfcPermit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_LongDescription) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +Ifc4x3_add2::IfcPermit::IfcPermit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_LongDescription) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); }; populate_derived(); } // Function implementations for IfcPerson boost::optional< std::string > Ifc4x3_add2::IfcPerson::Identification() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -13200,7 +13200,7 @@ void Ifc4x3_add2::IfcPerson::setAddresses(boost::optional< aggregate_of< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcPerson::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[737]); } const IfcParse::entity& Ifc4x3_add2::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[737]); } Ifc4x3_add2::IfcPerson::IfcPerson(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcPerson::IfcPerson(boost::optional< std::string > v1_Identification, boost::optional< std::string > v2_FamilyName, boost::optional< std::string > v3_GivenName, boost::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, boost::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorRole >::ptr > v7_Roles, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAddress >::ptr > v8_Addresses) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { if (v1_Identification) {set_attribute_value(0, (*v1_Identification)); } if (v2_FamilyName) {set_attribute_value(1, (*v2_FamilyName)); } if (v3_GivenName) {set_attribute_value(2, (*v3_GivenName)); } if (v4_MiddleNames) {set_attribute_value(3, (*v4_MiddleNames)); } if (v5_PrefixTitles) {set_attribute_value(4, (*v5_PrefixTitles)); } if (v6_SuffixTitles) {set_attribute_value(5, (*v6_SuffixTitles)); } if (v7_Roles) {set_attribute_value(6, (*v7_Roles)->generalize()); } if (v8_Addresses) {set_attribute_value(7, (*v8_Addresses)->generalize()); } } +Ifc4x3_add2::IfcPerson::IfcPerson(boost::optional< std::string > v1_Identification, boost::optional< std::string > v2_FamilyName, boost::optional< std::string > v3_GivenName, boost::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, boost::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorRole >::ptr > v7_Roles, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAddress >::ptr > v8_Addresses) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { if (v1_Identification) {set_attribute_value(0, (*v1_Identification)); } if (v2_FamilyName) {set_attribute_value(1, (*v2_FamilyName)); } if (v3_GivenName) {set_attribute_value(2, (*v3_GivenName)); } if (v4_MiddleNames) {set_attribute_value(3, (*v4_MiddleNames)); } if (v5_PrefixTitles) {set_attribute_value(4, (*v5_PrefixTitles)); } if (v6_SuffixTitles) {set_attribute_value(5, (*v6_SuffixTitles)); } if (v7_Roles) {set_attribute_value(6, (*v7_Roles)->generalize()); } if (v8_Addresses) {set_attribute_value(7, (*v8_Addresses)->generalize()); }; populate_derived(); } // Function implementations for IfcPersonAndOrganization ::Ifc4x3_add2::IfcPerson* Ifc4x3_add2::IfcPersonAndOrganization::ThePerson() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcPerson>(true); } @@ -13214,7 +13214,7 @@ void Ifc4x3_add2::IfcPersonAndOrganization::setRoles(boost::optional< aggregate_ const IfcParse::entity& Ifc4x3_add2::IfcPersonAndOrganization::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[738]); } const IfcParse::entity& Ifc4x3_add2::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[738]); } Ifc4x3_add2::IfcPersonAndOrganization::IfcPersonAndOrganization(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcPersonAndOrganization::IfcPersonAndOrganization(::Ifc4x3_add2::IfcPerson* v1_ThePerson, ::Ifc4x3_add2::IfcOrganization* v2_TheOrganization, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorRole >::ptr > v3_Roles) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_ThePerson ? v1_ThePerson->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TheOrganization ? v2_TheOrganization->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Roles) {set_attribute_value(2, (*v3_Roles)->generalize()); } } +Ifc4x3_add2::IfcPersonAndOrganization::IfcPersonAndOrganization(::Ifc4x3_add2::IfcPerson* v1_ThePerson, ::Ifc4x3_add2::IfcOrganization* v2_TheOrganization, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcActorRole >::ptr > v3_Roles) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_ThePerson ? v1_ThePerson->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TheOrganization ? v2_TheOrganization->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Roles) {set_attribute_value(2, (*v3_Roles)->generalize()); }; populate_derived(); } // Function implementations for IfcPhysicalComplexQuantity aggregate_of< ::Ifc4x3_add2::IfcPhysicalQuantity >::ptr Ifc4x3_add2::IfcPhysicalComplexQuantity::HasQuantities() const { aggregate_of_instance::ptr es = data_.get_attribute_value(2); return es->as< ::Ifc4x3_add2::IfcPhysicalQuantity >(); } @@ -13230,7 +13230,7 @@ void Ifc4x3_add2::IfcPhysicalComplexQuantity::setUsage(boost::optional< std::str const IfcParse::entity& Ifc4x3_add2::IfcPhysicalComplexQuantity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[740]); } const IfcParse::entity& Ifc4x3_add2::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[740]); } Ifc4x3_add2::IfcPhysicalComplexQuantity::IfcPhysicalComplexQuantity(IfcEntityInstanceData&& e) : IfcPhysicalQuantity(std::move(e)) { } -Ifc4x3_add2::IfcPhysicalComplexQuantity::IfcPhysicalComplexQuantity(std::string v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcPhysicalQuantity >::ptr v3_HasQuantities, std::string v4_Discrimination, boost::optional< std::string > v5_Quality, boost::optional< std::string > v6_Usage) : IfcPhysicalQuantity(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_HasQuantities)->generalize());set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } +Ifc4x3_add2::IfcPhysicalComplexQuantity::IfcPhysicalComplexQuantity(std::string v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcPhysicalQuantity >::ptr v3_HasQuantities, std::string v4_Discrimination, boost::optional< std::string > v5_Quality, boost::optional< std::string > v6_Usage) : IfcPhysicalQuantity(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_HasQuantities)->generalize());set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); }; populate_derived(); } // Function implementations for IfcPhysicalQuantity std::string Ifc4x3_add2::IfcPhysicalQuantity::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -13244,7 +13244,7 @@ void Ifc4x3_add2::IfcPhysicalQuantity::setDescription(boost::optional< std::stri const IfcParse::entity& Ifc4x3_add2::IfcPhysicalQuantity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[742]); } const IfcParse::entity& Ifc4x3_add2::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[742]); } Ifc4x3_add2::IfcPhysicalQuantity::IfcPhysicalQuantity(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcPhysicalQuantity::IfcPhysicalQuantity(std::string v1_Name, boost::optional< std::string > v2_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } +Ifc4x3_add2::IfcPhysicalQuantity::IfcPhysicalQuantity(std::string v1_Name, boost::optional< std::string > v2_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }; populate_derived(); } // Function implementations for IfcPhysicalSimpleQuantity ::Ifc4x3_add2::IfcNamedUnit* Ifc4x3_add2::IfcPhysicalSimpleQuantity::Unit() const { if(data_.get_attribute_value(2).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcNamedUnit>(true); } @@ -13254,7 +13254,7 @@ void Ifc4x3_add2::IfcPhysicalSimpleQuantity::setUnit(::Ifc4x3_add2::IfcNamedUnit const IfcParse::entity& Ifc4x3_add2::IfcPhysicalSimpleQuantity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[743]); } const IfcParse::entity& Ifc4x3_add2::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[743]); } Ifc4x3_add2::IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity(IfcEntityInstanceData&& e) : IfcPhysicalQuantity(std::move(e)) { } -Ifc4x3_add2::IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit) : IfcPhysicalQuantity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit) : IfcPhysicalQuantity(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPile boost::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value > Ifc4x3_add2::IfcPile::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPileTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -13266,7 +13266,7 @@ void Ifc4x3_add2::IfcPile::setConstructionType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcPile::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[744]); } const IfcParse::entity& Ifc4x3_add2::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[744]); } Ifc4x3_add2::IfcPile::IfcPile(IfcEntityInstanceData&& e) : IfcDeepFoundation(std::move(e)) { } -Ifc4x3_add2::IfcPile::IfcPile(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value > v9_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value > v10_ConstructionType) : IfcDeepFoundation(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +Ifc4x3_add2::IfcPile::IfcPile(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value > v9_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value > v10_ConstructionType) : IfcDeepFoundation(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); }; populate_derived(); } // Function implementations for IfcPileType ::Ifc4x3_add2::IfcPileTypeEnum::Value Ifc4x3_add2::IfcPileType::PredefinedType() const { return ::Ifc4x3_add2::IfcPileTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -13276,7 +13276,7 @@ void Ifc4x3_add2::IfcPileType::setPredefinedType(::Ifc4x3_add2::IfcPileTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcPileType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[746]); } const IfcParse::entity& Ifc4x3_add2::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[746]); } Ifc4x3_add2::IfcPileType::IfcPileType(IfcEntityInstanceData&& e) : IfcDeepFoundationType(std::move(e)) { } -Ifc4x3_add2::IfcPileType::IfcPileType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPileTypeEnum::Value v10_PredefinedType) : IfcDeepFoundationType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcPileType::IfcPileType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPileTypeEnum::Value v10_PredefinedType) : IfcDeepFoundationType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcPipeFitting boost::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > Ifc4x3_add2::IfcPipeFitting::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPipeFittingTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -13286,7 +13286,7 @@ void Ifc4x3_add2::IfcPipeFitting::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcPipeFitting::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[748]); } const IfcParse::entity& Ifc4x3_add2::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[748]); } Ifc4x3_add2::IfcPipeFitting::IfcPipeFitting(IfcEntityInstanceData&& e) : IfcFlowFitting(std::move(e)) { } -Ifc4x3_add2::IfcPipeFitting::IfcPipeFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcPipeFitting::IfcPipeFitting(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) : IfcFlowFitting(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcPipeFittingType ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value Ifc4x3_add2::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcPipeFittingTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -13296,7 +13296,7 @@ void Ifc4x3_add2::IfcPipeFittingType::setPredefinedType(::Ifc4x3_add2::IfcPipeFi const IfcParse::entity& Ifc4x3_add2::IfcPipeFittingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[749]); } const IfcParse::entity& Ifc4x3_add2::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[749]); } Ifc4x3_add2::IfcPipeFittingType::IfcPipeFittingType(IfcEntityInstanceData&& e) : IfcFlowFittingType(std::move(e)) { } -Ifc4x3_add2::IfcPipeFittingType::IfcPipeFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcPipeFittingType::IfcPipeFittingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) : IfcFlowFittingType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcPipeSegment boost::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > Ifc4x3_add2::IfcPipeSegment::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -13306,7 +13306,7 @@ void Ifc4x3_add2::IfcPipeSegment::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcPipeSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[751]); } const IfcParse::entity& Ifc4x3_add2::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[751]); } Ifc4x3_add2::IfcPipeSegment::IfcPipeSegment(IfcEntityInstanceData&& e) : IfcFlowSegment(std::move(e)) { } -Ifc4x3_add2::IfcPipeSegment::IfcPipeSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcPipeSegment::IfcPipeSegment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) : IfcFlowSegment(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcPipeSegmentType ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value Ifc4x3_add2::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -13316,7 +13316,7 @@ void Ifc4x3_add2::IfcPipeSegmentType::setPredefinedType(::Ifc4x3_add2::IfcPipeSe const IfcParse::entity& Ifc4x3_add2::IfcPipeSegmentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[752]); } const IfcParse::entity& Ifc4x3_add2::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[752]); } Ifc4x3_add2::IfcPipeSegmentType::IfcPipeSegmentType(IfcEntityInstanceData&& e) : IfcFlowSegmentType(std::move(e)) { } -Ifc4x3_add2::IfcPipeSegmentType::IfcPipeSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcPipeSegmentType::IfcPipeSegmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) : IfcFlowSegmentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcPixelTexture int Ifc4x3_add2::IfcPixelTexture::Width() const { int v = data_.get_attribute_value(5); return v; } @@ -13332,7 +13332,7 @@ void Ifc4x3_add2::IfcPixelTexture::setPixel(std::vector< boost::dynamic_bitset<> const IfcParse::entity& Ifc4x3_add2::IfcPixelTexture::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[754]); } const IfcParse::entity& Ifc4x3_add2::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[754]); } Ifc4x3_add2::IfcPixelTexture::IfcPixelTexture(IfcEntityInstanceData&& e) : IfcSurfaceTexture(std::move(e)) { } -Ifc4x3_add2::IfcPixelTexture::IfcPixelTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, int v6_Width, int v7_Height, int v8_ColourComponents, std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v9_Pixel) : IfcSurfaceTexture(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_Width));set_attribute_value(6, (v7_Height));set_attribute_value(7, (v8_ColourComponents));set_attribute_value(8, (v9_Pixel)); } +Ifc4x3_add2::IfcPixelTexture::IfcPixelTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, int v6_Width, int v7_Height, int v8_ColourComponents, std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v9_Pixel) : IfcSurfaceTexture(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_Width));set_attribute_value(6, (v7_Height));set_attribute_value(7, (v8_ColourComponents));set_attribute_value(8, (v9_Pixel));; populate_derived(); } // Function implementations for IfcPlacement ::Ifc4x3_add2::IfcPoint* Ifc4x3_add2::IfcPlacement::Location() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcPoint>(true); } @@ -13342,7 +13342,7 @@ void Ifc4x3_add2::IfcPlacement::setLocation(::Ifc4x3_add2::IfcPoint* v) { set_at const IfcParse::entity& Ifc4x3_add2::IfcPlacement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[755]); } const IfcParse::entity& Ifc4x3_add2::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[755]); } Ifc4x3_add2::IfcPlacement::IfcPlacement(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcPlacement::IfcPlacement(::Ifc4x3_add2::IfcPoint* v1_Location) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPlacement::IfcPlacement(::Ifc4x3_add2::IfcPoint* v1_Location) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Location ? v1_Location->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPlanarBox ::Ifc4x3_add2::IfcAxis2Placement* Ifc4x3_add2::IfcPlanarBox::Placement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcAxis2Placement>(true); } @@ -13352,7 +13352,7 @@ void Ifc4x3_add2::IfcPlanarBox::setPlacement(::Ifc4x3_add2::IfcAxis2Placement* v const IfcParse::entity& Ifc4x3_add2::IfcPlanarBox::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[756]); } const IfcParse::entity& Ifc4x3_add2::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[756]); } Ifc4x3_add2::IfcPlanarBox::IfcPlanarBox(IfcEntityInstanceData&& e) : IfcPlanarExtent(std::move(e)) { } -Ifc4x3_add2::IfcPlanarBox::IfcPlanarBox(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_add2::IfcAxis2Placement* v3_Placement) : IfcPlanarExtent(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, v3_Placement ? v3_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPlanarBox::IfcPlanarBox(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_add2::IfcAxis2Placement* v3_Placement) : IfcPlanarExtent(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, v3_Placement ? v3_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPlanarExtent double Ifc4x3_add2::IfcPlanarExtent::SizeInX() const { double v = data_.get_attribute_value(0); return v; } @@ -13364,7 +13364,7 @@ void Ifc4x3_add2::IfcPlanarExtent::setSizeInY(double v) { set_attribute_value(1, const IfcParse::entity& Ifc4x3_add2::IfcPlanarExtent::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[757]); } const IfcParse::entity& Ifc4x3_add2::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[757]); } Ifc4x3_add2::IfcPlanarExtent::IfcPlanarExtent(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcPlanarExtent::IfcPlanarExtent(double v1_SizeInX, double v2_SizeInY) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } +Ifc4x3_add2::IfcPlanarExtent::IfcPlanarExtent(double v1_SizeInX, double v2_SizeInY) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));; populate_derived(); } // Function implementations for IfcPlane @@ -13372,7 +13372,7 @@ Ifc4x3_add2::IfcPlanarExtent::IfcPlanarExtent(double v1_SizeInX, double v2_SizeI const IfcParse::entity& Ifc4x3_add2::IfcPlane::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[759]); } const IfcParse::entity& Ifc4x3_add2::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[759]); } Ifc4x3_add2::IfcPlane::IfcPlane(IfcEntityInstanceData&& e) : IfcElementarySurface(std::move(e)) { } -Ifc4x3_add2::IfcPlane::IfcPlane(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position) : IfcElementarySurface(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPlane::IfcPlane(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position) : IfcElementarySurface(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPlate boost::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > Ifc4x3_add2::IfcPlate::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPlateTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -13382,7 +13382,7 @@ void Ifc4x3_add2::IfcPlate::setPredefinedType(boost::optional< ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcPlate::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[761]); } const IfcParse::entity& Ifc4x3_add2::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[761]); } Ifc4x3_add2::IfcPlate::IfcPlate(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcPlate::IfcPlate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcPlate::IfcPlate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcPlateType ::Ifc4x3_add2::IfcPlateTypeEnum::Value Ifc4x3_add2::IfcPlateType::PredefinedType() const { return ::Ifc4x3_add2::IfcPlateTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -13392,7 +13392,7 @@ void Ifc4x3_add2::IfcPlateType::setPredefinedType(::Ifc4x3_add2::IfcPlateTypeEnu const IfcParse::entity& Ifc4x3_add2::IfcPlateType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[762]); } const IfcParse::entity& Ifc4x3_add2::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[762]); } Ifc4x3_add2::IfcPlateType::IfcPlateType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcPlateType::IfcPlateType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPlateTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcPlateType::IfcPlateType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPlateTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcPoint @@ -13400,7 +13400,7 @@ Ifc4x3_add2::IfcPlateType::IfcPlateType(std::string v1_GlobalId, ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcPoint::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[764]); } const IfcParse::entity& Ifc4x3_add2::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[764]); } Ifc4x3_add2::IfcPoint::IfcPoint(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcPoint::IfcPoint() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcPoint::IfcPoint() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcPointByDistanceExpression ::Ifc4x3_add2::IfcCurveMeasureSelect* Ifc4x3_add2::IfcPointByDistanceExpression::DistanceAlong() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurveMeasureSelect>(true); } @@ -13418,7 +13418,7 @@ void Ifc4x3_add2::IfcPointByDistanceExpression::setBasisCurve(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcPointByDistanceExpression::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[765]); } const IfcParse::entity& Ifc4x3_add2::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[765]); } Ifc4x3_add2::IfcPointByDistanceExpression::IfcPointByDistanceExpression(IfcEntityInstanceData&& e) : IfcPoint(std::move(e)) { } -Ifc4x3_add2::IfcPointByDistanceExpression::IfcPointByDistanceExpression(::Ifc4x3_add2::IfcCurveMeasureSelect* v1_DistanceAlong, boost::optional< double > v2_OffsetLateral, boost::optional< double > v3_OffsetVertical, boost::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_add2::IfcCurve* v5_BasisCurve) : IfcPoint(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_DistanceAlong ? v1_DistanceAlong->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_OffsetLateral) {set_attribute_value(1, (*v2_OffsetLateral)); } if (v3_OffsetVertical) {set_attribute_value(2, (*v3_OffsetVertical)); } if (v4_OffsetLongitudinal) {set_attribute_value(3, (*v4_OffsetLongitudinal)); }set_attribute_value(4, v5_BasisCurve ? v5_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPointByDistanceExpression::IfcPointByDistanceExpression(::Ifc4x3_add2::IfcCurveMeasureSelect* v1_DistanceAlong, boost::optional< double > v2_OffsetLateral, boost::optional< double > v3_OffsetVertical, boost::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_add2::IfcCurve* v5_BasisCurve) : IfcPoint(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_DistanceAlong ? v1_DistanceAlong->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_OffsetLateral) {set_attribute_value(1, (*v2_OffsetLateral)); } if (v3_OffsetVertical) {set_attribute_value(2, (*v3_OffsetVertical)); } if (v4_OffsetLongitudinal) {set_attribute_value(3, (*v4_OffsetLongitudinal)); }set_attribute_value(4, v5_BasisCurve ? v5_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPointOnCurve ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcPointOnCurve::BasisCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -13430,7 +13430,7 @@ void Ifc4x3_add2::IfcPointOnCurve::setPointParameter(double v) { set_attribute_v const IfcParse::entity& Ifc4x3_add2::IfcPointOnCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[766]); } const IfcParse::entity& Ifc4x3_add2::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[766]); } Ifc4x3_add2::IfcPointOnCurve::IfcPointOnCurve(IfcEntityInstanceData&& e) : IfcPoint(std::move(e)) { } -Ifc4x3_add2::IfcPointOnCurve::IfcPointOnCurve(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, double v2_PointParameter) : IfcPoint(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_PointParameter)); } +Ifc4x3_add2::IfcPointOnCurve::IfcPointOnCurve(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, double v2_PointParameter) : IfcPoint(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_PointParameter));; populate_derived(); } // Function implementations for IfcPointOnSurface ::Ifc4x3_add2::IfcSurface* Ifc4x3_add2::IfcPointOnSurface::BasisSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSurface>(true); } @@ -13444,7 +13444,7 @@ void Ifc4x3_add2::IfcPointOnSurface::setPointParameterV(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcPointOnSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[767]); } const IfcParse::entity& Ifc4x3_add2::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[767]); } Ifc4x3_add2::IfcPointOnSurface::IfcPointOnSurface(IfcEntityInstanceData&& e) : IfcPoint(std::move(e)) { } -Ifc4x3_add2::IfcPointOnSurface::IfcPointOnSurface(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) : IfcPoint(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } +Ifc4x3_add2::IfcPointOnSurface::IfcPointOnSurface(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) : IfcPoint(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV));; populate_derived(); } // Function implementations for IfcPolyLoop aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr Ifc4x3_add2::IfcPolyLoop::Polygon() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcCartesianPoint >(); } @@ -13454,7 +13454,7 @@ void Ifc4x3_add2::IfcPolyLoop::setPolygon(aggregate_of< ::Ifc4x3_add2::IfcCartes const IfcParse::entity& Ifc4x3_add2::IfcPolyLoop::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[772]); } const IfcParse::entity& Ifc4x3_add2::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[772]); } Ifc4x3_add2::IfcPolyLoop::IfcPolyLoop(IfcEntityInstanceData&& e) : IfcLoop(std::move(e)) { } -Ifc4x3_add2::IfcPolyLoop::IfcPolyLoop(aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v1_Polygon) : IfcLoop(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Polygon)->generalize()); } +Ifc4x3_add2::IfcPolyLoop::IfcPolyLoop(aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v1_Polygon) : IfcLoop(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Polygon)->generalize());; populate_derived(); } // Function implementations for IfcPolygonalBoundedHalfSpace ::Ifc4x3_add2::IfcAxis2Placement3D* Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcAxis2Placement3D>(true); } @@ -13466,7 +13466,7 @@ void Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[769]); } const IfcParse::entity& Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[769]); } Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::IfcPolygonalBoundedHalfSpace(IfcEntityInstanceData&& e) : IfcHalfSpaceSolid(std::move(e)) { } -Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::IfcPolygonalBoundedHalfSpace(::Ifc4x3_add2::IfcSurface* v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcAxis2Placement3D* v3_Position, ::Ifc4x3_add2::IfcBoundedCurve* v4_PolygonalBoundary) : IfcHalfSpaceSolid(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_BaseSurface ? v1_BaseSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_PolygonalBoundary ? v4_PolygonalBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::IfcPolygonalBoundedHalfSpace(::Ifc4x3_add2::IfcSurface* v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcAxis2Placement3D* v3_Position, ::Ifc4x3_add2::IfcBoundedCurve* v4_PolygonalBoundary) : IfcHalfSpaceSolid(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_BaseSurface ? v1_BaseSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_PolygonalBoundary ? v4_PolygonalBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPolygonalFaceSet boost::optional< bool > Ifc4x3_add2::IfcPolygonalFaceSet::Closed() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } bool v = data_.get_attribute_value(1); return v; } @@ -13480,7 +13480,7 @@ void Ifc4x3_add2::IfcPolygonalFaceSet::setPnIndex(boost::optional< std::vector< const IfcParse::entity& Ifc4x3_add2::IfcPolygonalFaceSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[770]); } const IfcParse::entity& Ifc4x3_add2::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[770]); } Ifc4x3_add2::IfcPolygonalFaceSet::IfcPolygonalFaceSet(IfcEntityInstanceData&& e) : IfcTessellatedFaceSet(std::move(e)) { } -Ifc4x3_add2::IfcPolygonalFaceSet::IfcPolygonalFaceSet(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates, boost::optional< bool > v2_Closed, aggregate_of< ::Ifc4x3_add2::IfcIndexedPolygonalFace >::ptr v3_Faces, boost::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) : IfcTessellatedFaceSet(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, (v3_Faces)->generalize()); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } +Ifc4x3_add2::IfcPolygonalFaceSet::IfcPolygonalFaceSet(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates, boost::optional< bool > v2_Closed, aggregate_of< ::Ifc4x3_add2::IfcIndexedPolygonalFace >::ptr v3_Faces, boost::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) : IfcTessellatedFaceSet(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, (v3_Faces)->generalize()); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); }; populate_derived(); } // Function implementations for IfcPolyline aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr Ifc4x3_add2::IfcPolyline::Points() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcCartesianPoint >(); } @@ -13490,7 +13490,7 @@ void Ifc4x3_add2::IfcPolyline::setPoints(aggregate_of< ::Ifc4x3_add2::IfcCartesi const IfcParse::entity& Ifc4x3_add2::IfcPolyline::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[771]); } const IfcParse::entity& Ifc4x3_add2::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[771]); } Ifc4x3_add2::IfcPolyline::IfcPolyline(IfcEntityInstanceData&& e) : IfcBoundedCurve(std::move(e)) { } -Ifc4x3_add2::IfcPolyline::IfcPolyline(aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v1_Points) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Points)->generalize()); } +Ifc4x3_add2::IfcPolyline::IfcPolyline(aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v1_Points) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Points)->generalize());; populate_derived(); } // Function implementations for IfcPolynomialCurve ::Ifc4x3_add2::IfcPlacement* Ifc4x3_add2::IfcPolynomialCurve::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcPlacement>(true); } @@ -13506,7 +13506,7 @@ void Ifc4x3_add2::IfcPolynomialCurve::setCoefficientsZ(boost::optional< std::vec const IfcParse::entity& Ifc4x3_add2::IfcPolynomialCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[773]); } const IfcParse::entity& Ifc4x3_add2::IfcPolynomialCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[773]); } Ifc4x3_add2::IfcPolynomialCurve::IfcPolynomialCurve(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcPolynomialCurve::IfcPolynomialCurve(::Ifc4x3_add2::IfcPlacement* v1_Position, boost::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, boost::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, boost::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) : IfcCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_CoefficientsX) {set_attribute_value(1, (*v2_CoefficientsX)); } if (v3_CoefficientsY) {set_attribute_value(2, (*v3_CoefficientsY)); } if (v4_CoefficientsZ) {set_attribute_value(3, (*v4_CoefficientsZ)); } } +Ifc4x3_add2::IfcPolynomialCurve::IfcPolynomialCurve(::Ifc4x3_add2::IfcPlacement* v1_Position, boost::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, boost::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, boost::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) : IfcCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_CoefficientsX) {set_attribute_value(1, (*v2_CoefficientsX)); } if (v3_CoefficientsY) {set_attribute_value(2, (*v3_CoefficientsY)); } if (v4_CoefficientsZ) {set_attribute_value(3, (*v4_CoefficientsZ)); }; populate_derived(); } // Function implementations for IfcPort @@ -13517,7 +13517,7 @@ Ifc4x3_add2::IfcPolynomialCurve::IfcPolynomialCurve(::Ifc4x3_add2::IfcPlacement* const IfcParse::entity& Ifc4x3_add2::IfcPort::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[774]); } const IfcParse::entity& Ifc4x3_add2::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[774]); } Ifc4x3_add2::IfcPort::IfcPort(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcPort::IfcPort(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPort::IfcPort(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPositioningElement @@ -13527,7 +13527,7 @@ Ifc4x3_add2::IfcPort::IfcPort(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHi const IfcParse::entity& Ifc4x3_add2::IfcPositioningElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[775]); } const IfcParse::entity& Ifc4x3_add2::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[775]); } Ifc4x3_add2::IfcPositioningElement::IfcPositioningElement(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcPositioningElement::IfcPositioningElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPositioningElement::IfcPositioningElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPostalAddress boost::optional< std::string > Ifc4x3_add2::IfcPostalAddress::InternalLocation() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(3); return v; } @@ -13549,7 +13549,7 @@ void Ifc4x3_add2::IfcPostalAddress::setCountry(boost::optional< std::string > v) const IfcParse::entity& Ifc4x3_add2::IfcPostalAddress::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[780]); } const IfcParse::entity& Ifc4x3_add2::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[780]); } Ifc4x3_add2::IfcPostalAddress::IfcPostalAddress(IfcEntityInstanceData&& e) : IfcAddress(std::move(e)) { } -Ifc4x3_add2::IfcPostalAddress::IfcPostalAddress(boost::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_UserDefinedPurpose, boost::optional< std::string > v4_InternalLocation, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, boost::optional< std::string > v6_PostalBox, boost::optional< std::string > v7_Town, boost::optional< std::string > v8_Region, boost::optional< std::string > v9_PostalCode, boost::optional< std::string > v10_Country) : IfcAddress(IfcEntityInstanceData(storage_t(10))) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } if (v4_InternalLocation) {set_attribute_value(3, (*v4_InternalLocation)); } if (v5_AddressLines) {set_attribute_value(4, (*v5_AddressLines)); } if (v6_PostalBox) {set_attribute_value(5, (*v6_PostalBox)); } if (v7_Town) {set_attribute_value(6, (*v7_Town)); } if (v8_Region) {set_attribute_value(7, (*v8_Region)); } if (v9_PostalCode) {set_attribute_value(8, (*v9_PostalCode)); } if (v10_Country) {set_attribute_value(9, (*v10_Country)); } } +Ifc4x3_add2::IfcPostalAddress::IfcPostalAddress(boost::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_UserDefinedPurpose, boost::optional< std::string > v4_InternalLocation, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, boost::optional< std::string > v6_PostalBox, boost::optional< std::string > v7_Town, boost::optional< std::string > v8_Region, boost::optional< std::string > v9_PostalCode, boost::optional< std::string > v10_Country) : IfcAddress(IfcEntityInstanceData(storage_t(10))) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } if (v4_InternalLocation) {set_attribute_value(3, (*v4_InternalLocation)); } if (v5_AddressLines) {set_attribute_value(4, (*v5_AddressLines)); } if (v6_PostalBox) {set_attribute_value(5, (*v6_PostalBox)); } if (v7_Town) {set_attribute_value(6, (*v7_Town)); } if (v8_Region) {set_attribute_value(7, (*v8_Region)); } if (v9_PostalCode) {set_attribute_value(8, (*v9_PostalCode)); } if (v10_Country) {set_attribute_value(9, (*v10_Country)); }; populate_derived(); } // Function implementations for IfcPreDefinedColour @@ -13557,7 +13557,7 @@ Ifc4x3_add2::IfcPostalAddress::IfcPostalAddress(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedColour::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[782]); } const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[782]); } Ifc4x3_add2::IfcPreDefinedColour::IfcPreDefinedColour(IfcEntityInstanceData&& e) : IfcPreDefinedItem(std::move(e)) { } -Ifc4x3_add2::IfcPreDefinedColour::IfcPreDefinedColour(std::string v1_Name) : IfcPreDefinedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name)); } +Ifc4x3_add2::IfcPreDefinedColour::IfcPreDefinedColour(std::string v1_Name) : IfcPreDefinedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name));; populate_derived(); } // Function implementations for IfcPreDefinedCurveFont @@ -13565,7 +13565,7 @@ Ifc4x3_add2::IfcPreDefinedColour::IfcPreDefinedColour(std::string v1_Name) : Ifc const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedCurveFont::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[783]); } const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[783]); } Ifc4x3_add2::IfcPreDefinedCurveFont::IfcPreDefinedCurveFont(IfcEntityInstanceData&& e) : IfcPreDefinedItem(std::move(e)) { } -Ifc4x3_add2::IfcPreDefinedCurveFont::IfcPreDefinedCurveFont(std::string v1_Name) : IfcPreDefinedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name)); } +Ifc4x3_add2::IfcPreDefinedCurveFont::IfcPreDefinedCurveFont(std::string v1_Name) : IfcPreDefinedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name));; populate_derived(); } // Function implementations for IfcPreDefinedItem std::string Ifc4x3_add2::IfcPreDefinedItem::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -13575,7 +13575,7 @@ void Ifc4x3_add2::IfcPreDefinedItem::setName(std::string v) { set_attribute_valu const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[784]); } const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[784]); } Ifc4x3_add2::IfcPreDefinedItem::IfcPreDefinedItem(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcPreDefinedItem::IfcPreDefinedItem(std::string v1_Name) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name)); } +Ifc4x3_add2::IfcPreDefinedItem::IfcPreDefinedItem(std::string v1_Name) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name));; populate_derived(); } // Function implementations for IfcPreDefinedProperties @@ -13583,7 +13583,7 @@ Ifc4x3_add2::IfcPreDefinedItem::IfcPreDefinedItem(std::string v1_Name) : IfcPres const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[785]); } const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[785]); } Ifc4x3_add2::IfcPreDefinedProperties::IfcPreDefinedProperties(IfcEntityInstanceData&& e) : IfcPropertyAbstraction(std::move(e)) { } -Ifc4x3_add2::IfcPreDefinedProperties::IfcPreDefinedProperties() : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcPreDefinedProperties::IfcPreDefinedProperties() : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcPreDefinedPropertySet @@ -13591,7 +13591,7 @@ Ifc4x3_add2::IfcPreDefinedProperties::IfcPreDefinedProperties() : IfcPropertyAbs const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedPropertySet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[786]); } const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[786]); } Ifc4x3_add2::IfcPreDefinedPropertySet::IfcPreDefinedPropertySet(IfcEntityInstanceData&& e) : IfcPropertySetDefinition(std::move(e)) { } -Ifc4x3_add2::IfcPreDefinedPropertySet::IfcPreDefinedPropertySet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertySetDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcPreDefinedPropertySet::IfcPreDefinedPropertySet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertySetDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcPreDefinedTextFont @@ -13599,7 +13599,7 @@ Ifc4x3_add2::IfcPreDefinedPropertySet::IfcPreDefinedPropertySet(std::string v1_G const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedTextFont::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[787]); } const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[787]); } Ifc4x3_add2::IfcPreDefinedTextFont::IfcPreDefinedTextFont(IfcEntityInstanceData&& e) : IfcPreDefinedItem(std::move(e)) { } -Ifc4x3_add2::IfcPreDefinedTextFont::IfcPreDefinedTextFont(std::string v1_Name) : IfcPreDefinedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name)); } +Ifc4x3_add2::IfcPreDefinedTextFont::IfcPreDefinedTextFont(std::string v1_Name) : IfcPreDefinedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Name));; populate_derived(); } // Function implementations for IfcPresentationItem @@ -13607,7 +13607,7 @@ Ifc4x3_add2::IfcPreDefinedTextFont::IfcPreDefinedTextFont(std::string v1_Name) : const IfcParse::entity& Ifc4x3_add2::IfcPresentationItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[790]); } const IfcParse::entity& Ifc4x3_add2::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[790]); } Ifc4x3_add2::IfcPresentationItem::IfcPresentationItem(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcPresentationItem::IfcPresentationItem() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcPresentationItem::IfcPresentationItem() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcPresentationLayerAssignment std::string Ifc4x3_add2::IfcPresentationLayerAssignment::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -13623,7 +13623,7 @@ void Ifc4x3_add2::IfcPresentationLayerAssignment::setIdentifier(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcPresentationLayerAssignment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[791]); } const IfcParse::entity& Ifc4x3_add2::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[791]); } Ifc4x3_add2::IfcPresentationLayerAssignment::IfcPresentationLayerAssignment(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcPresentationLayerAssignment::IfcPresentationLayerAssignment(std::string v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcLayeredItem >::ptr v3_AssignedItems, boost::optional< std::string > v4_Identifier) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AssignedItems)->generalize()); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } +Ifc4x3_add2::IfcPresentationLayerAssignment::IfcPresentationLayerAssignment(std::string v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcLayeredItem >::ptr v3_AssignedItems, boost::optional< std::string > v4_Identifier) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AssignedItems)->generalize()); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); }; populate_derived(); } // Function implementations for IfcPresentationLayerWithStyle boost::logic::tribool Ifc4x3_add2::IfcPresentationLayerWithStyle::LayerOn() const { boost::logic::tribool v = data_.get_attribute_value(4); return v; } @@ -13639,7 +13639,7 @@ void Ifc4x3_add2::IfcPresentationLayerWithStyle::setLayerStyles(aggregate_of< :: const IfcParse::entity& Ifc4x3_add2::IfcPresentationLayerWithStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[792]); } const IfcParse::entity& Ifc4x3_add2::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[792]); } Ifc4x3_add2::IfcPresentationLayerWithStyle::IfcPresentationLayerWithStyle(IfcEntityInstanceData&& e) : IfcPresentationLayerAssignment(std::move(e)) { } -Ifc4x3_add2::IfcPresentationLayerWithStyle::IfcPresentationLayerWithStyle(std::string v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcLayeredItem >::ptr v3_AssignedItems, boost::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, aggregate_of< ::Ifc4x3_add2::IfcPresentationStyle >::ptr v8_LayerStyles) : IfcPresentationLayerAssignment(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AssignedItems)->generalize()); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); }set_attribute_value(4, (v5_LayerOn));set_attribute_value(5, (v6_LayerFrozen));set_attribute_value(6, (v7_LayerBlocked));set_attribute_value(7, (v8_LayerStyles)->generalize()); } +Ifc4x3_add2::IfcPresentationLayerWithStyle::IfcPresentationLayerWithStyle(std::string v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcLayeredItem >::ptr v3_AssignedItems, boost::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, aggregate_of< ::Ifc4x3_add2::IfcPresentationStyle >::ptr v8_LayerStyles) : IfcPresentationLayerAssignment(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AssignedItems)->generalize()); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); }set_attribute_value(4, (v5_LayerOn));set_attribute_value(5, (v6_LayerFrozen));set_attribute_value(6, (v7_LayerBlocked));set_attribute_value(7, (v8_LayerStyles)->generalize());; populate_derived(); } // Function implementations for IfcPresentationStyle boost::optional< std::string > Ifc4x3_add2::IfcPresentationStyle::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -13649,7 +13649,7 @@ void Ifc4x3_add2::IfcPresentationStyle::setName(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcPresentationStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[793]); } const IfcParse::entity& Ifc4x3_add2::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[793]); } Ifc4x3_add2::IfcPresentationStyle::IfcPresentationStyle(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcPresentationStyle::IfcPresentationStyle(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } +Ifc4x3_add2::IfcPresentationStyle::IfcPresentationStyle(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; populate_derived(); } // Function implementations for IfcProcedure boost::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > Ifc4x3_add2::IfcProcedure::PredefinedType() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcProcedureTypeEnum::FromString(data_.get_attribute_value(7)); } @@ -13659,7 +13659,7 @@ void Ifc4x3_add2::IfcProcedure::setPredefinedType(boost::optional< ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcProcedure::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[795]); } const IfcParse::entity& Ifc4x3_add2::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[795]); } Ifc4x3_add2::IfcProcedure::IfcProcedure(IfcEntityInstanceData&& e) : IfcProcess(std::move(e)) { } -Ifc4x3_add2::IfcProcedure::IfcProcedure(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, boost::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > v8_PredefinedType) : IfcProcess(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +Ifc4x3_add2::IfcProcedure::IfcProcedure(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, boost::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > v8_PredefinedType) : IfcProcess(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; populate_derived(); } // Function implementations for IfcProcedureType ::Ifc4x3_add2::IfcProcedureTypeEnum::Value Ifc4x3_add2::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_add2::IfcProcedureTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -13669,7 +13669,7 @@ void Ifc4x3_add2::IfcProcedureType::setPredefinedType(::Ifc4x3_add2::IfcProcedur const IfcParse::entity& Ifc4x3_add2::IfcProcedureType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[796]); } const IfcParse::entity& Ifc4x3_add2::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[796]); } Ifc4x3_add2::IfcProcedureType::IfcProcedureType(IfcEntityInstanceData&& e) : IfcTypeProcess(std::move(e)) { } -Ifc4x3_add2::IfcProcedureType::IfcProcedureType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcProcedureTypeEnum::Value v10_PredefinedType) : IfcTypeProcess(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcProcedureType::IfcProcedureType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcProcedureTypeEnum::Value v10_PredefinedType) : IfcTypeProcess(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcProcess boost::optional< std::string > Ifc4x3_add2::IfcProcess::Identification() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(5); return v; } @@ -13684,7 +13684,7 @@ void Ifc4x3_add2::IfcProcess::setLongDescription(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcProcess::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[798]); } const IfcParse::entity& Ifc4x3_add2::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[798]); } Ifc4x3_add2::IfcProcess::IfcProcess(IfcEntityInstanceData&& e) : IfcObject(std::move(e)) { } -Ifc4x3_add2::IfcProcess::IfcProcess(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription) : IfcObject(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } } +Ifc4x3_add2::IfcProcess::IfcProcess(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription) : IfcObject(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }; populate_derived(); } // Function implementations for IfcProduct ::Ifc4x3_add2::IfcObjectPlacement* Ifc4x3_add2::IfcProduct::ObjectPlacement() const { if(data_.get_attribute_value(5).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcObjectPlacement>(true); } @@ -13699,7 +13699,7 @@ void Ifc4x3_add2::IfcProduct::setRepresentation(::Ifc4x3_add2::IfcProductReprese const IfcParse::entity& Ifc4x3_add2::IfcProduct::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[800]); } const IfcParse::entity& Ifc4x3_add2::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[800]); } Ifc4x3_add2::IfcProduct::IfcProduct(IfcEntityInstanceData&& e) : IfcObject(std::move(e)) { } -Ifc4x3_add2::IfcProduct::IfcProduct(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcObject(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcProduct::IfcProduct(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcObject(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcProductDefinitionShape @@ -13709,7 +13709,7 @@ Ifc4x3_add2::IfcProduct::IfcProduct(std::string v1_GlobalId, ::Ifc4x3_add2::IfcO const IfcParse::entity& Ifc4x3_add2::IfcProductDefinitionShape::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[801]); } const IfcParse::entity& Ifc4x3_add2::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[801]); } Ifc4x3_add2::IfcProductDefinitionShape::IfcProductDefinitionShape(IfcEntityInstanceData&& e) : IfcProductRepresentation(std::move(e)) { } -Ifc4x3_add2::IfcProductDefinitionShape::IfcProductDefinitionShape(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcRepresentation >::ptr v3_Representations) : IfcProductRepresentation(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Representations)->generalize()); } +Ifc4x3_add2::IfcProductDefinitionShape::IfcProductDefinitionShape(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcRepresentation >::ptr v3_Representations) : IfcProductRepresentation(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Representations)->generalize());; populate_derived(); } // Function implementations for IfcProductRepresentation boost::optional< std::string > Ifc4x3_add2::IfcProductRepresentation::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -13723,7 +13723,7 @@ void Ifc4x3_add2::IfcProductRepresentation::setRepresentations(aggregate_of< ::I const IfcParse::entity& Ifc4x3_add2::IfcProductRepresentation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[802]); } const IfcParse::entity& Ifc4x3_add2::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[802]); } Ifc4x3_add2::IfcProductRepresentation::IfcProductRepresentation(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcProductRepresentation::IfcProductRepresentation(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcRepresentation >::ptr v3_Representations) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Representations)->generalize()); } +Ifc4x3_add2::IfcProductRepresentation::IfcProductRepresentation(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcRepresentation >::ptr v3_Representations) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Representations)->generalize());; populate_derived(); } // Function implementations for IfcProfileDef ::Ifc4x3_add2::IfcProfileTypeEnum::Value Ifc4x3_add2::IfcProfileDef::ProfileType() const { return ::Ifc4x3_add2::IfcProfileTypeEnum::FromString(data_.get_attribute_value(0)); } @@ -13737,7 +13737,7 @@ void Ifc4x3_add2::IfcProfileDef::setProfileName(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[805]); } const IfcParse::entity& Ifc4x3_add2::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[805]); } Ifc4x3_add2::IfcProfileDef::IfcProfileDef(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcProfileDef::IfcProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +Ifc4x3_add2::IfcProfileDef::IfcProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }; populate_derived(); } // Function implementations for IfcProfileProperties ::Ifc4x3_add2::IfcProfileDef* Ifc4x3_add2::IfcProfileProperties::ProfileDefinition() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcProfileDef>(true); } @@ -13747,7 +13747,7 @@ void Ifc4x3_add2::IfcProfileProperties::setProfileDefinition(::Ifc4x3_add2::IfcP const IfcParse::entity& Ifc4x3_add2::IfcProfileProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[806]); } const IfcParse::entity& Ifc4x3_add2::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[806]); } Ifc4x3_add2::IfcProfileProperties::IfcProfileProperties(IfcEntityInstanceData&& e) : IfcExtendedProperties(std::move(e)) { } -Ifc4x3_add2::IfcProfileProperties::IfcProfileProperties(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v3_Properties, ::Ifc4x3_add2::IfcProfileDef* v4_ProfileDefinition) : IfcExtendedProperties(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Properties)->generalize());set_attribute_value(3, v4_ProfileDefinition ? v4_ProfileDefinition->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcProfileProperties::IfcProfileProperties(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v3_Properties, ::Ifc4x3_add2::IfcProfileDef* v4_ProfileDefinition) : IfcExtendedProperties(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Properties)->generalize());set_attribute_value(3, v4_ProfileDefinition ? v4_ProfileDefinition->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcProject @@ -13755,7 +13755,7 @@ Ifc4x3_add2::IfcProfileProperties::IfcProfileProperties(boost::optional< std::st const IfcParse::entity& Ifc4x3_add2::IfcProject::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[808]); } const IfcParse::entity& Ifc4x3_add2::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[808]); } Ifc4x3_add2::IfcProject::IfcProject(IfcEntityInstanceData&& e) : IfcContext(std::move(e)) { } -Ifc4x3_add2::IfcProject::IfcProject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< std::string > v7_Phase, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationContext >::ptr > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment* v9_UnitsInContext) : IfcContext(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, (*v8_RepresentationContexts)->generalize()); }set_attribute_value(8, v9_UnitsInContext ? v9_UnitsInContext->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcProject::IfcProject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< std::string > v7_Phase, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationContext >::ptr > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment* v9_UnitsInContext) : IfcContext(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, (*v8_RepresentationContexts)->generalize()); }set_attribute_value(8, v9_UnitsInContext ? v9_UnitsInContext->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcProjectLibrary @@ -13763,7 +13763,7 @@ Ifc4x3_add2::IfcProject::IfcProject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcO const IfcParse::entity& Ifc4x3_add2::IfcProjectLibrary::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[813]); } const IfcParse::entity& Ifc4x3_add2::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[813]); } Ifc4x3_add2::IfcProjectLibrary::IfcProjectLibrary(IfcEntityInstanceData&& e) : IfcContext(std::move(e)) { } -Ifc4x3_add2::IfcProjectLibrary::IfcProjectLibrary(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< std::string > v7_Phase, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationContext >::ptr > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment* v9_UnitsInContext) : IfcContext(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, (*v8_RepresentationContexts)->generalize()); }set_attribute_value(8, v9_UnitsInContext ? v9_UnitsInContext->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcProjectLibrary::IfcProjectLibrary(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName, boost::optional< std::string > v7_Phase, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationContext >::ptr > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment* v9_UnitsInContext) : IfcContext(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, (*v8_RepresentationContexts)->generalize()); }set_attribute_value(8, v9_UnitsInContext ? v9_UnitsInContext->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcProjectOrder boost::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value > Ifc4x3_add2::IfcProjectOrder::PredefinedType() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcProjectOrderTypeEnum::FromString(data_.get_attribute_value(6)); } @@ -13777,7 +13777,7 @@ void Ifc4x3_add2::IfcProjectOrder::setLongDescription(boost::optional< std::stri const IfcParse::entity& Ifc4x3_add2::IfcProjectOrder::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[814]); } const IfcParse::entity& Ifc4x3_add2::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[814]); } Ifc4x3_add2::IfcProjectOrder::IfcProjectOrder(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcProjectOrder::IfcProjectOrder(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_LongDescription) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +Ifc4x3_add2::IfcProjectOrder::IfcProjectOrder(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_LongDescription) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); }; populate_derived(); } // Function implementations for IfcProjectedCRS boost::optional< std::string > Ifc4x3_add2::IfcProjectedCRS::VerticalDatum() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(3); return v; } @@ -13793,7 +13793,7 @@ void Ifc4x3_add2::IfcProjectedCRS::setMapUnit(::Ifc4x3_add2::IfcNamedUnit* v) { const IfcParse::entity& Ifc4x3_add2::IfcProjectedCRS::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[809]); } const IfcParse::entity& Ifc4x3_add2::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[809]); } Ifc4x3_add2::IfcProjectedCRS::IfcProjectedCRS(IfcEntityInstanceData&& e) : IfcCoordinateReferenceSystem(std::move(e)) { } -Ifc4x3_add2::IfcProjectedCRS::IfcProjectedCRS(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_GeodeticDatum, boost::optional< std::string > v4_VerticalDatum, boost::optional< std::string > v5_MapProjection, boost::optional< std::string > v6_MapZone, ::Ifc4x3_add2::IfcNamedUnit* v7_MapUnit) : IfcCoordinateReferenceSystem(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); } if (v4_VerticalDatum) {set_attribute_value(3, (*v4_VerticalDatum)); } if (v5_MapProjection) {set_attribute_value(4, (*v5_MapProjection)); } if (v6_MapZone) {set_attribute_value(5, (*v6_MapZone)); }set_attribute_value(6, v7_MapUnit ? v7_MapUnit->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcProjectedCRS::IfcProjectedCRS(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_GeodeticDatum, boost::optional< std::string > v4_VerticalDatum, boost::optional< std::string > v5_MapProjection, boost::optional< std::string > v6_MapZone, ::Ifc4x3_add2::IfcNamedUnit* v7_MapUnit) : IfcCoordinateReferenceSystem(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); } if (v4_VerticalDatum) {set_attribute_value(3, (*v4_VerticalDatum)); } if (v5_MapProjection) {set_attribute_value(4, (*v5_MapProjection)); } if (v6_MapZone) {set_attribute_value(5, (*v6_MapZone)); }set_attribute_value(6, v7_MapUnit ? v7_MapUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcProjectionElement boost::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > Ifc4x3_add2::IfcProjectionElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcProjectionElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -13803,7 +13803,7 @@ void Ifc4x3_add2::IfcProjectionElement::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcProjectionElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[811]); } const IfcParse::entity& Ifc4x3_add2::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[811]); } Ifc4x3_add2::IfcProjectionElement::IfcProjectionElement(IfcEntityInstanceData&& e) : IfcFeatureElementAddition(std::move(e)) { } -Ifc4x3_add2::IfcProjectionElement::IfcProjectionElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementAddition(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcProjectionElement::IfcProjectionElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementAddition(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcProperty std::string Ifc4x3_add2::IfcProperty::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -13821,7 +13821,7 @@ void Ifc4x3_add2::IfcProperty::setSpecification(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcProperty::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[816]); } const IfcParse::entity& Ifc4x3_add2::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[816]); } Ifc4x3_add2::IfcProperty::IfcProperty(IfcEntityInstanceData&& e) : IfcPropertyAbstraction(std::move(e)) { } -Ifc4x3_add2::IfcProperty::IfcProperty(std::string v1_Name, boost::optional< std::string > v2_Specification) : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } +Ifc4x3_add2::IfcProperty::IfcProperty(std::string v1_Name, boost::optional< std::string > v2_Specification) : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }; populate_derived(); } // Function implementations for IfcPropertyAbstraction @@ -13830,7 +13830,7 @@ Ifc4x3_add2::IfcProperty::IfcProperty(std::string v1_Name, boost::optional< std: const IfcParse::entity& Ifc4x3_add2::IfcPropertyAbstraction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[817]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[817]); } Ifc4x3_add2::IfcPropertyAbstraction::IfcPropertyAbstraction(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcPropertyAbstraction::IfcPropertyAbstraction() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcPropertyAbstraction::IfcPropertyAbstraction() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcPropertyBoundedValue ::Ifc4x3_add2::IfcValue* Ifc4x3_add2::IfcPropertyBoundedValue::UpperBoundValue() const { if(data_.get_attribute_value(2).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcValue>(true); } @@ -13846,7 +13846,7 @@ void Ifc4x3_add2::IfcPropertyBoundedValue::setSetPointValue(::Ifc4x3_add2::IfcVa const IfcParse::entity& Ifc4x3_add2::IfcPropertyBoundedValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[818]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[818]); } Ifc4x3_add2::IfcPropertyBoundedValue::IfcPropertyBoundedValue(IfcEntityInstanceData&& e) : IfcSimpleProperty(std::move(e)) { } -Ifc4x3_add2::IfcPropertyBoundedValue::IfcPropertyBoundedValue(std::string v1_Name, boost::optional< std::string > v2_Specification, ::Ifc4x3_add2::IfcValue* v3_UpperBoundValue, ::Ifc4x3_add2::IfcValue* v4_LowerBoundValue, ::Ifc4x3_add2::IfcUnit* v5_Unit, ::Ifc4x3_add2::IfcValue* v6_SetPointValue) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, v3_UpperBoundValue ? v3_UpperBoundValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_LowerBoundValue ? v4_LowerBoundValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_Unit ? v5_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_SetPointValue ? v6_SetPointValue->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPropertyBoundedValue::IfcPropertyBoundedValue(std::string v1_Name, boost::optional< std::string > v2_Specification, ::Ifc4x3_add2::IfcValue* v3_UpperBoundValue, ::Ifc4x3_add2::IfcValue* v4_LowerBoundValue, ::Ifc4x3_add2::IfcUnit* v5_Unit, ::Ifc4x3_add2::IfcValue* v6_SetPointValue) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, v3_UpperBoundValue ? v3_UpperBoundValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_LowerBoundValue ? v4_LowerBoundValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_Unit ? v5_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_SetPointValue ? v6_SetPointValue->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPropertyDefinition @@ -13856,7 +13856,7 @@ Ifc4x3_add2::IfcPropertyBoundedValue::IfcPropertyBoundedValue(std::string v1_Nam const IfcParse::entity& Ifc4x3_add2::IfcPropertyDefinition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[819]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[819]); } Ifc4x3_add2::IfcPropertyDefinition::IfcPropertyDefinition(IfcEntityInstanceData&& e) : IfcRoot(std::move(e)) { } -Ifc4x3_add2::IfcPropertyDefinition::IfcPropertyDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRoot(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcPropertyDefinition::IfcPropertyDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRoot(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcPropertyDependencyRelationship ::Ifc4x3_add2::IfcProperty* Ifc4x3_add2::IfcPropertyDependencyRelationship::DependingProperty() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcProperty>(true); } @@ -13870,7 +13870,7 @@ void Ifc4x3_add2::IfcPropertyDependencyRelationship::setExpression(boost::option const IfcParse::entity& Ifc4x3_add2::IfcPropertyDependencyRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[820]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[820]); } Ifc4x3_add2::IfcPropertyDependencyRelationship::IfcPropertyDependencyRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcPropertyDependencyRelationship::IfcPropertyDependencyRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcProperty* v3_DependingProperty, ::Ifc4x3_add2::IfcProperty* v4_DependantProperty, boost::optional< std::string > v5_Expression) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_DependingProperty ? v3_DependingProperty->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_DependantProperty ? v4_DependantProperty->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } +Ifc4x3_add2::IfcPropertyDependencyRelationship::IfcPropertyDependencyRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcProperty* v3_DependingProperty, ::Ifc4x3_add2::IfcProperty* v4_DependantProperty, boost::optional< std::string > v5_Expression) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_DependingProperty ? v3_DependingProperty->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_DependantProperty ? v4_DependantProperty->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }; populate_derived(); } // Function implementations for IfcPropertyEnumeratedValue boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > Ifc4x3_add2::IfcPropertyEnumeratedValue::EnumerationValues() const { if(data_.get_attribute_value(2).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(2); return es->as< ::Ifc4x3_add2::IfcValue >(); } @@ -13882,7 +13882,7 @@ void Ifc4x3_add2::IfcPropertyEnumeratedValue::setEnumerationReference(::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcPropertyEnumeratedValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[821]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[821]); } Ifc4x3_add2::IfcPropertyEnumeratedValue::IfcPropertyEnumeratedValue(IfcEntityInstanceData&& e) : IfcSimpleProperty(std::move(e)) { } -Ifc4x3_add2::IfcPropertyEnumeratedValue::IfcPropertyEnumeratedValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v3_EnumerationValues, ::Ifc4x3_add2::IfcPropertyEnumeration* v4_EnumerationReference) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_EnumerationValues) {set_attribute_value(2, (*v3_EnumerationValues)->generalize()); }set_attribute_value(3, v4_EnumerationReference ? v4_EnumerationReference->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPropertyEnumeratedValue::IfcPropertyEnumeratedValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v3_EnumerationValues, ::Ifc4x3_add2::IfcPropertyEnumeration* v4_EnumerationReference) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_EnumerationValues) {set_attribute_value(2, (*v3_EnumerationValues)->generalize()); }set_attribute_value(3, v4_EnumerationReference ? v4_EnumerationReference->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPropertyEnumeration std::string Ifc4x3_add2::IfcPropertyEnumeration::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -13896,7 +13896,7 @@ void Ifc4x3_add2::IfcPropertyEnumeration::setUnit(::Ifc4x3_add2::IfcUnit* v) { s const IfcParse::entity& Ifc4x3_add2::IfcPropertyEnumeration::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[822]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[822]); } Ifc4x3_add2::IfcPropertyEnumeration::IfcPropertyEnumeration(IfcEntityInstanceData&& e) : IfcPropertyAbstraction(std::move(e)) { } -Ifc4x3_add2::IfcPropertyEnumeration::IfcPropertyEnumeration(std::string v1_Name, aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr v2_EnumerationValues, ::Ifc4x3_add2::IfcUnit* v3_Unit) : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Name));set_attribute_value(1, (v2_EnumerationValues)->generalize());set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPropertyEnumeration::IfcPropertyEnumeration(std::string v1_Name, aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr v2_EnumerationValues, ::Ifc4x3_add2::IfcUnit* v3_Unit) : IfcPropertyAbstraction(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Name));set_attribute_value(1, (v2_EnumerationValues)->generalize());set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPropertyListValue boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > Ifc4x3_add2::IfcPropertyListValue::ListValues() const { if(data_.get_attribute_value(2).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(2); return es->as< ::Ifc4x3_add2::IfcValue >(); } @@ -13908,7 +13908,7 @@ void Ifc4x3_add2::IfcPropertyListValue::setUnit(::Ifc4x3_add2::IfcUnit* v) { set const IfcParse::entity& Ifc4x3_add2::IfcPropertyListValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[823]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[823]); } Ifc4x3_add2::IfcPropertyListValue::IfcPropertyListValue(IfcEntityInstanceData&& e) : IfcSimpleProperty(std::move(e)) { } -Ifc4x3_add2::IfcPropertyListValue::IfcPropertyListValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v3_ListValues, ::Ifc4x3_add2::IfcUnit* v4_Unit) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_ListValues) {set_attribute_value(2, (*v3_ListValues)->generalize()); }set_attribute_value(3, v4_Unit ? v4_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPropertyListValue::IfcPropertyListValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v3_ListValues, ::Ifc4x3_add2::IfcUnit* v4_Unit) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_ListValues) {set_attribute_value(2, (*v3_ListValues)->generalize()); }set_attribute_value(3, v4_Unit ? v4_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPropertyReferenceValue boost::optional< std::string > Ifc4x3_add2::IfcPropertyReferenceValue::UsageName() const { if(data_.get_attribute_value(2).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(2); return v; } @@ -13920,7 +13920,7 @@ void Ifc4x3_add2::IfcPropertyReferenceValue::setPropertyReference(::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcPropertyReferenceValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[824]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[824]); } Ifc4x3_add2::IfcPropertyReferenceValue::IfcPropertyReferenceValue(IfcEntityInstanceData&& e) : IfcSimpleProperty(std::move(e)) { } -Ifc4x3_add2::IfcPropertyReferenceValue::IfcPropertyReferenceValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< std::string > v3_UsageName, ::Ifc4x3_add2::IfcObjectReferenceSelect* v4_PropertyReference) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, v4_PropertyReference ? v4_PropertyReference->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPropertyReferenceValue::IfcPropertyReferenceValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< std::string > v3_UsageName, ::Ifc4x3_add2::IfcObjectReferenceSelect* v4_PropertyReference) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, v4_PropertyReference ? v4_PropertyReference->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPropertySet aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr Ifc4x3_add2::IfcPropertySet::HasProperties() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcProperty >(); } @@ -13930,7 +13930,7 @@ void Ifc4x3_add2::IfcPropertySet::setHasProperties(aggregate_of< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcPropertySet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[825]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[825]); } Ifc4x3_add2::IfcPropertySet::IfcPropertySet(IfcEntityInstanceData&& e) : IfcPropertySetDefinition(std::move(e)) { } -Ifc4x3_add2::IfcPropertySet::IfcPropertySet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v5_HasProperties) : IfcPropertySetDefinition(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_HasProperties)->generalize()); } +Ifc4x3_add2::IfcPropertySet::IfcPropertySet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcProperty >::ptr v5_HasProperties) : IfcPropertySetDefinition(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_HasProperties)->generalize());; populate_derived(); } // Function implementations for IfcPropertySetDefinition @@ -13941,7 +13941,7 @@ Ifc4x3_add2::IfcPropertySet::IfcPropertySet(std::string v1_GlobalId, ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcPropertySetDefinition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[826]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[826]); } Ifc4x3_add2::IfcPropertySetDefinition::IfcPropertySetDefinition(IfcEntityInstanceData&& e) : IfcPropertyDefinition(std::move(e)) { } -Ifc4x3_add2::IfcPropertySetDefinition::IfcPropertySetDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertyDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcPropertySetDefinition::IfcPropertySetDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertyDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcPropertySetTemplate boost::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_add2::IfcPropertySetTemplate::TemplateType() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::FromString(data_.get_attribute_value(4)); } @@ -13956,7 +13956,7 @@ void Ifc4x3_add2::IfcPropertySetTemplate::setHasPropertyTemplates(aggregate_of< const IfcParse::entity& Ifc4x3_add2::IfcPropertySetTemplate::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[829]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[829]); } Ifc4x3_add2::IfcPropertySetTemplate::IfcPropertySetTemplate(IfcEntityInstanceData&& e) : IfcPropertyTemplateDefinition(std::move(e)) { } -Ifc4x3_add2::IfcPropertySetTemplate::IfcPropertySetTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, boost::optional< std::string > v6_ApplicableEntity, aggregate_of< ::Ifc4x3_add2::IfcPropertyTemplate >::ptr v7_HasPropertyTemplates) : IfcPropertyTemplateDefinition(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_TemplateType) {set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, (v7_HasPropertyTemplates)->generalize()); } +Ifc4x3_add2::IfcPropertySetTemplate::IfcPropertySetTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, boost::optional< std::string > v6_ApplicableEntity, aggregate_of< ::Ifc4x3_add2::IfcPropertyTemplate >::ptr v7_HasPropertyTemplates) : IfcPropertyTemplateDefinition(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_TemplateType) {set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, (v7_HasPropertyTemplates)->generalize());; populate_derived(); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_add2::IfcValue* Ifc4x3_add2::IfcPropertySingleValue::NominalValue() const { if(data_.get_attribute_value(2).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcValue>(true); } @@ -13968,7 +13968,7 @@ void Ifc4x3_add2::IfcPropertySingleValue::setUnit(::Ifc4x3_add2::IfcUnit* v) { s const IfcParse::entity& Ifc4x3_add2::IfcPropertySingleValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[831]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[831]); } Ifc4x3_add2::IfcPropertySingleValue::IfcPropertySingleValue(IfcEntityInstanceData&& e) : IfcSimpleProperty(std::move(e)) { } -Ifc4x3_add2::IfcPropertySingleValue::IfcPropertySingleValue(std::string v1_Name, boost::optional< std::string > v2_Specification, ::Ifc4x3_add2::IfcValue* v3_NominalValue, ::Ifc4x3_add2::IfcUnit* v4_Unit) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, v3_NominalValue ? v3_NominalValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Unit ? v4_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcPropertySingleValue::IfcPropertySingleValue(std::string v1_Name, boost::optional< std::string > v2_Specification, ::Ifc4x3_add2::IfcValue* v3_NominalValue, ::Ifc4x3_add2::IfcUnit* v4_Unit) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, v3_NominalValue ? v3_NominalValue->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_Unit ? v4_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcPropertyTableValue boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > Ifc4x3_add2::IfcPropertyTableValue::DefiningValues() const { if(data_.get_attribute_value(2).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(2); return es->as< ::Ifc4x3_add2::IfcValue >(); } @@ -13988,7 +13988,7 @@ void Ifc4x3_add2::IfcPropertyTableValue::setCurveInterpolation(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcPropertyTableValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[832]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[832]); } Ifc4x3_add2::IfcPropertyTableValue::IfcPropertyTableValue(IfcEntityInstanceData&& e) : IfcSimpleProperty(std::move(e)) { } -Ifc4x3_add2::IfcPropertyTableValue::IfcPropertyTableValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v3_DefiningValues, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v4_DefinedValues, boost::optional< std::string > v5_Expression, ::Ifc4x3_add2::IfcUnit* v6_DefiningUnit, ::Ifc4x3_add2::IfcUnit* v7_DefinedUnit, boost::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, (*v3_DefiningValues)->generalize()); } if (v4_DefinedValues) {set_attribute_value(3, (*v4_DefinedValues)->generalize()); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, v6_DefiningUnit ? v6_DefiningUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_DefinedUnit ? v7_DefinedUnit->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +Ifc4x3_add2::IfcPropertyTableValue::IfcPropertyTableValue(std::string v1_Name, boost::optional< std::string > v2_Specification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v3_DefiningValues, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v4_DefinedValues, boost::optional< std::string > v5_Expression, ::Ifc4x3_add2::IfcUnit* v6_DefiningUnit, ::Ifc4x3_add2::IfcUnit* v7_DefinedUnit, boost::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) : IfcSimpleProperty(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, (*v3_DefiningValues)->generalize()); } if (v4_DefinedValues) {set_attribute_value(3, (*v4_DefinedValues)->generalize()); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, v6_DefiningUnit ? v6_DefiningUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_DefinedUnit ? v7_DefinedUnit->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); }; populate_derived(); } // Function implementations for IfcPropertyTemplate @@ -13998,7 +13998,7 @@ Ifc4x3_add2::IfcPropertyTableValue::IfcPropertyTableValue(std::string v1_Name, b const IfcParse::entity& Ifc4x3_add2::IfcPropertyTemplate::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[833]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[833]); } Ifc4x3_add2::IfcPropertyTemplate::IfcPropertyTemplate(IfcEntityInstanceData&& e) : IfcPropertyTemplateDefinition(std::move(e)) { } -Ifc4x3_add2::IfcPropertyTemplate::IfcPropertyTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertyTemplateDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcPropertyTemplate::IfcPropertyTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertyTemplateDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcPropertyTemplateDefinition @@ -14006,7 +14006,7 @@ Ifc4x3_add2::IfcPropertyTemplate::IfcPropertyTemplate(std::string v1_GlobalId, : const IfcParse::entity& Ifc4x3_add2::IfcPropertyTemplateDefinition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[834]); } const IfcParse::entity& Ifc4x3_add2::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[834]); } Ifc4x3_add2::IfcPropertyTemplateDefinition::IfcPropertyTemplateDefinition(IfcEntityInstanceData&& e) : IfcPropertyDefinition(std::move(e)) { } -Ifc4x3_add2::IfcPropertyTemplateDefinition::IfcPropertyTemplateDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertyDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcPropertyTemplateDefinition::IfcPropertyTemplateDefinition(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertyDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcProtectiveDevice boost::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_add2::IfcProtectiveDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14016,7 +14016,7 @@ void Ifc4x3_add2::IfcProtectiveDevice::setPredefinedType(boost::optional< ::Ifc4 const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[835]); } const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[835]); } Ifc4x3_add2::IfcProtectiveDevice::IfcProtectiveDevice(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcProtectiveDevice::IfcProtectiveDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcProtectiveDevice::IfcProtectiveDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcProtectiveDeviceTrippingUnit boost::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14026,7 +14026,7 @@ void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::setPredefinedType(boost::opti const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[836]); } const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[836]); } Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::IfcProtectiveDeviceTrippingUnit(IfcEntityInstanceData&& e) : IfcDistributionControlElement(std::move(e)) { } -Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::IfcProtectiveDeviceTrippingUnit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::IfcProtectiveDeviceTrippingUnit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14036,7 +14036,7 @@ void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[837]); } const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[837]); } Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::IfcProtectiveDeviceTrippingUnitType(IfcEntityInstanceData&& e) : IfcDistributionControlElementType(std::move(e)) { } -Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::IfcProtectiveDeviceTrippingUnitType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::IfcProtectiveDeviceTrippingUnitType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_add2::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14046,7 +14046,7 @@ void Ifc4x3_add2::IfcProtectiveDeviceType::setPredefinedType(::Ifc4x3_add2::IfcP const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[839]); } const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[839]); } Ifc4x3_add2::IfcProtectiveDeviceType::IfcProtectiveDeviceType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcProtectiveDeviceType::IfcProtectiveDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcProtectiveDeviceType::IfcProtectiveDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcPump boost::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > Ifc4x3_add2::IfcPump::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcPumpTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14056,7 +14056,7 @@ void Ifc4x3_add2::IfcPump::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcPump::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[841]); } const IfcParse::entity& Ifc4x3_add2::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[841]); } Ifc4x3_add2::IfcPump::IfcPump(IfcEntityInstanceData&& e) : IfcFlowMovingDevice(std::move(e)) { } -Ifc4x3_add2::IfcPump::IfcPump(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > v9_PredefinedType) : IfcFlowMovingDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcPump::IfcPump(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > v9_PredefinedType) : IfcFlowMovingDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcPumpType ::Ifc4x3_add2::IfcPumpTypeEnum::Value Ifc4x3_add2::IfcPumpType::PredefinedType() const { return ::Ifc4x3_add2::IfcPumpTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14066,7 +14066,7 @@ void Ifc4x3_add2::IfcPumpType::setPredefinedType(::Ifc4x3_add2::IfcPumpTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcPumpType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[842]); } const IfcParse::entity& Ifc4x3_add2::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[842]); } Ifc4x3_add2::IfcPumpType::IfcPumpType(IfcEntityInstanceData&& e) : IfcFlowMovingDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcPumpType::IfcPumpType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPumpTypeEnum::Value v10_PredefinedType) : IfcFlowMovingDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcPumpType::IfcPumpType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPumpTypeEnum::Value v10_PredefinedType) : IfcFlowMovingDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcQuantityArea double Ifc4x3_add2::IfcQuantityArea::AreaValue() const { double v = data_.get_attribute_value(3); return v; } @@ -14078,7 +14078,7 @@ void Ifc4x3_add2::IfcQuantityArea::setFormula(boost::optional< std::string > v) const IfcParse::entity& Ifc4x3_add2::IfcQuantityArea::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[844]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[844]); } Ifc4x3_add2::IfcQuantityArea::IfcQuantityArea(IfcEntityInstanceData&& e) : IfcPhysicalSimpleQuantity(std::move(e)) { } -Ifc4x3_add2::IfcQuantityArea::IfcQuantityArea(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_AreaValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } +Ifc4x3_add2::IfcQuantityArea::IfcQuantityArea(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_AreaValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; populate_derived(); } // Function implementations for IfcQuantityCount int Ifc4x3_add2::IfcQuantityCount::CountValue() const { int v = data_.get_attribute_value(3); return v; } @@ -14090,7 +14090,7 @@ void Ifc4x3_add2::IfcQuantityCount::setFormula(boost::optional< std::string > v) const IfcParse::entity& Ifc4x3_add2::IfcQuantityCount::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[845]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[845]); } Ifc4x3_add2::IfcQuantityCount::IfcQuantityCount(IfcEntityInstanceData&& e) : IfcPhysicalSimpleQuantity(std::move(e)) { } -Ifc4x3_add2::IfcQuantityCount::IfcQuantityCount(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, int v4_CountValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } +Ifc4x3_add2::IfcQuantityCount::IfcQuantityCount(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, int v4_CountValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; populate_derived(); } // Function implementations for IfcQuantityLength double Ifc4x3_add2::IfcQuantityLength::LengthValue() const { double v = data_.get_attribute_value(3); return v; } @@ -14102,7 +14102,7 @@ void Ifc4x3_add2::IfcQuantityLength::setFormula(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcQuantityLength::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[846]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[846]); } Ifc4x3_add2::IfcQuantityLength::IfcQuantityLength(IfcEntityInstanceData&& e) : IfcPhysicalSimpleQuantity(std::move(e)) { } -Ifc4x3_add2::IfcQuantityLength::IfcQuantityLength(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_LengthValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } +Ifc4x3_add2::IfcQuantityLength::IfcQuantityLength(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_LengthValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; populate_derived(); } // Function implementations for IfcQuantityNumber double Ifc4x3_add2::IfcQuantityNumber::NumberValue() const { double v = data_.get_attribute_value(3); return v; } @@ -14114,7 +14114,7 @@ void Ifc4x3_add2::IfcQuantityNumber::setFormula(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcQuantityNumber::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[847]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantityNumber::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[847]); } Ifc4x3_add2::IfcQuantityNumber::IfcQuantityNumber(IfcEntityInstanceData&& e) : IfcPhysicalSimpleQuantity(std::move(e)) { } -Ifc4x3_add2::IfcQuantityNumber::IfcQuantityNumber(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_NumberValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_NumberValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } +Ifc4x3_add2::IfcQuantityNumber::IfcQuantityNumber(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_NumberValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_NumberValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; populate_derived(); } // Function implementations for IfcQuantitySet @@ -14122,7 +14122,7 @@ Ifc4x3_add2::IfcQuantityNumber::IfcQuantityNumber(std::string v1_Name, boost::op const IfcParse::entity& Ifc4x3_add2::IfcQuantitySet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[848]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[848]); } Ifc4x3_add2::IfcQuantitySet::IfcQuantitySet(IfcEntityInstanceData&& e) : IfcPropertySetDefinition(std::move(e)) { } -Ifc4x3_add2::IfcQuantitySet::IfcQuantitySet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertySetDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcQuantitySet::IfcQuantitySet(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcPropertySetDefinition(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcQuantityTime double Ifc4x3_add2::IfcQuantityTime::TimeValue() const { double v = data_.get_attribute_value(3); return v; } @@ -14134,7 +14134,7 @@ void Ifc4x3_add2::IfcQuantityTime::setFormula(boost::optional< std::string > v) const IfcParse::entity& Ifc4x3_add2::IfcQuantityTime::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[849]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[849]); } Ifc4x3_add2::IfcQuantityTime::IfcQuantityTime(IfcEntityInstanceData&& e) : IfcPhysicalSimpleQuantity(std::move(e)) { } -Ifc4x3_add2::IfcQuantityTime::IfcQuantityTime(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_TimeValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } +Ifc4x3_add2::IfcQuantityTime::IfcQuantityTime(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_TimeValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; populate_derived(); } // Function implementations for IfcQuantityVolume double Ifc4x3_add2::IfcQuantityVolume::VolumeValue() const { double v = data_.get_attribute_value(3); return v; } @@ -14146,7 +14146,7 @@ void Ifc4x3_add2::IfcQuantityVolume::setFormula(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcQuantityVolume::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[850]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[850]); } Ifc4x3_add2::IfcQuantityVolume::IfcQuantityVolume(IfcEntityInstanceData&& e) : IfcPhysicalSimpleQuantity(std::move(e)) { } -Ifc4x3_add2::IfcQuantityVolume::IfcQuantityVolume(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_VolumeValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } +Ifc4x3_add2::IfcQuantityVolume::IfcQuantityVolume(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_VolumeValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; populate_derived(); } // Function implementations for IfcQuantityWeight double Ifc4x3_add2::IfcQuantityWeight::WeightValue() const { double v = data_.get_attribute_value(3); return v; } @@ -14158,7 +14158,7 @@ void Ifc4x3_add2::IfcQuantityWeight::setFormula(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcQuantityWeight::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[851]); } const IfcParse::entity& Ifc4x3_add2::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[851]); } Ifc4x3_add2::IfcQuantityWeight::IfcQuantityWeight(IfcEntityInstanceData&& e) : IfcPhysicalSimpleQuantity(std::move(e)) { } -Ifc4x3_add2::IfcQuantityWeight::IfcQuantityWeight(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_WeightValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } +Ifc4x3_add2::IfcQuantityWeight::IfcQuantityWeight(std::string v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit* v3_Unit, double v4_WeightValue, boost::optional< std::string > v5_Formula) : IfcPhysicalSimpleQuantity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_Unit ? v3_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; populate_derived(); } // Function implementations for IfcRail boost::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > Ifc4x3_add2::IfcRail::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRailTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14168,7 +14168,7 @@ void Ifc4x3_add2::IfcRail::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcRail::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[853]); } const IfcParse::entity& Ifc4x3_add2::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[853]); } Ifc4x3_add2::IfcRail::IfcRail(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcRail::IfcRail(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcRail::IfcRail(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRailType ::Ifc4x3_add2::IfcRailTypeEnum::Value Ifc4x3_add2::IfcRailType::PredefinedType() const { return ::Ifc4x3_add2::IfcRailTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14178,7 +14178,7 @@ void Ifc4x3_add2::IfcRailType::setPredefinedType(::Ifc4x3_add2::IfcRailTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcRailType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[857]); } const IfcParse::entity& Ifc4x3_add2::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[857]); } Ifc4x3_add2::IfcRailType::IfcRailType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcRailType::IfcRailType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcRailType::IfcRailType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcRailing boost::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > Ifc4x3_add2::IfcRailing::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRailingTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14188,7 +14188,7 @@ void Ifc4x3_add2::IfcRailing::setPredefinedType(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcRailing::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[854]); } const IfcParse::entity& Ifc4x3_add2::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[854]); } Ifc4x3_add2::IfcRailing::IfcRailing(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcRailing::IfcRailing(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcRailing::IfcRailing(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRailingType ::Ifc4x3_add2::IfcRailingTypeEnum::Value Ifc4x3_add2::IfcRailingType::PredefinedType() const { return ::Ifc4x3_add2::IfcRailingTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14198,7 +14198,7 @@ void Ifc4x3_add2::IfcRailingType::setPredefinedType(::Ifc4x3_add2::IfcRailingTyp const IfcParse::entity& Ifc4x3_add2::IfcRailingType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[855]); } const IfcParse::entity& Ifc4x3_add2::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[855]); } Ifc4x3_add2::IfcRailingType::IfcRailingType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcRailingType::IfcRailingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailingTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcRailingType::IfcRailingType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailingTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcRailway boost::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > Ifc4x3_add2::IfcRailway::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRailwayTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14208,7 +14208,7 @@ void Ifc4x3_add2::IfcRailway::setPredefinedType(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcRailway::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[859]); } const IfcParse::entity& Ifc4x3_add2::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[859]); } Ifc4x3_add2::IfcRailway::IfcRailway(IfcEntityInstanceData&& e) : IfcFacility(std::move(e)) { } -Ifc4x3_add2::IfcRailway::IfcRailway(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcRailway::IfcRailway(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRailwayPart boost::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > Ifc4x3_add2::IfcRailwayPart::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRailwayPartTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -14218,7 +14218,7 @@ void Ifc4x3_add2::IfcRailwayPart::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcRailwayPart::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[860]); } const IfcParse::entity& Ifc4x3_add2::IfcRailwayPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[860]); } Ifc4x3_add2::IfcRailwayPart::IfcRailwayPart(IfcEntityInstanceData&& e) : IfcFacilityPart(std::move(e)) { } -Ifc4x3_add2::IfcRailwayPart::IfcRailwayPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcRailwayPart::IfcRailwayPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRamp boost::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > Ifc4x3_add2::IfcRamp::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRampTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14228,7 +14228,7 @@ void Ifc4x3_add2::IfcRamp::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcRamp::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[863]); } const IfcParse::entity& Ifc4x3_add2::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[863]); } Ifc4x3_add2::IfcRamp::IfcRamp(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcRamp::IfcRamp(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcRamp::IfcRamp(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRampFlight boost::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > Ifc4x3_add2::IfcRampFlight::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRampFlightTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14238,7 +14238,7 @@ void Ifc4x3_add2::IfcRampFlight::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcRampFlight::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[864]); } const IfcParse::entity& Ifc4x3_add2::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[864]); } Ifc4x3_add2::IfcRampFlight::IfcRampFlight(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcRampFlight::IfcRampFlight(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcRampFlight::IfcRampFlight(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRampFlightType ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value Ifc4x3_add2::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_add2::IfcRampFlightTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14248,7 +14248,7 @@ void Ifc4x3_add2::IfcRampFlightType::setPredefinedType(::Ifc4x3_add2::IfcRampFli const IfcParse::entity& Ifc4x3_add2::IfcRampFlightType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[865]); } const IfcParse::entity& Ifc4x3_add2::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[865]); } Ifc4x3_add2::IfcRampFlightType::IfcRampFlightType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcRampFlightType::IfcRampFlightType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcRampFlightType::IfcRampFlightType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcRampType ::Ifc4x3_add2::IfcRampTypeEnum::Value Ifc4x3_add2::IfcRampType::PredefinedType() const { return ::Ifc4x3_add2::IfcRampTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14258,7 +14258,7 @@ void Ifc4x3_add2::IfcRampType::setPredefinedType(::Ifc4x3_add2::IfcRampTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcRampType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[867]); } const IfcParse::entity& Ifc4x3_add2::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[867]); } Ifc4x3_add2::IfcRampType::IfcRampType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcRampType::IfcRampType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcRampType::IfcRampType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = data_.get_attribute_value(8); return v; } @@ -14268,7 +14268,7 @@ void Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::setWeightsData(std::vector< const IfcParse::entity& Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[870]); } const IfcParse::entity& Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[870]); } Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::IfcRationalBSplineCurveWithKnots(IfcEntityInstanceData&& e) : IfcBSplineCurveWithKnots(std::move(e)) { } -Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::IfcRationalBSplineCurveWithKnots(int v1_Degree, aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect, std::vector< int > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) : IfcBSplineCurveWithKnots(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, (v2_ControlPointsList)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect));set_attribute_value(5, (v6_KnotMultiplicities));set_attribute_value(6, (v7_Knots));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::IfcRationalBSplineCurveWithKnots(int v1_Degree, aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect, std::vector< int > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) : IfcBSplineCurveWithKnots(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, (v2_ControlPointsList)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect));set_attribute_value(5, (v6_KnotMultiplicities));set_attribute_value(6, (v7_Knots));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData));; populate_derived(); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = data_.get_attribute_value(12); return v; } @@ -14278,7 +14278,7 @@ void Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::setWeightsData(std::vector const IfcParse::entity& Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[871]); } const IfcParse::entity& Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[871]); } Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::IfcRationalBSplineSurfaceWithKnots(IfcEntityInstanceData&& e) : IfcBSplineSurfaceWithKnots(std::move(e)) { } -Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::IfcRationalBSplineSurfaceWithKnots(int v1_UDegree, int v2_VDegree, aggregate_of_aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect, std::vector< int > /*[2:?]*/ v8_UMultiplicities, std::vector< int > /*[2:?]*/ v9_VMultiplicities, std::vector< double > /*[2:?]*/ v10_UKnots, std::vector< double > /*[2:?]*/ v11_VKnots, ::Ifc4x3_add2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) : IfcBSplineSurfaceWithKnots(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, (v3_ControlPointsList)->generalize());set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect));set_attribute_value(7, (v8_UMultiplicities));set_attribute_value(8, (v9_VMultiplicities));set_attribute_value(9, (v10_UKnots));set_attribute_value(10, (v11_VKnots));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::IfcRationalBSplineSurfaceWithKnots(int v1_UDegree, int v2_VDegree, aggregate_of_aggregate_of< ::Ifc4x3_add2::IfcCartesianPoint >::ptr v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect, std::vector< int > /*[2:?]*/ v8_UMultiplicities, std::vector< int > /*[2:?]*/ v9_VMultiplicities, std::vector< double > /*[2:?]*/ v10_UKnots, std::vector< double > /*[2:?]*/ v11_VKnots, ::Ifc4x3_add2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) : IfcBSplineSurfaceWithKnots(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, (v3_ControlPointsList)->generalize());set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect));set_attribute_value(7, (v8_UMultiplicities));set_attribute_value(8, (v9_VMultiplicities));set_attribute_value(9, (v10_UKnots));set_attribute_value(10, (v11_VKnots));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData));; populate_derived(); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_add2::IfcRectangleHollowProfileDef::WallThickness() const { double v = data_.get_attribute_value(5); return v; } @@ -14292,7 +14292,7 @@ void Ifc4x3_add2::IfcRectangleHollowProfileDef::setOuterFilletRadius(boost::opti const IfcParse::entity& Ifc4x3_add2::IfcRectangleHollowProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[873]); } const IfcParse::entity& Ifc4x3_add2::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[873]); } Ifc4x3_add2::IfcRectangleHollowProfileDef::IfcRectangleHollowProfileDef(IfcEntityInstanceData&& e) : IfcRectangleProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcRectangleHollowProfileDef::IfcRectangleHollowProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, boost::optional< double > v7_InnerFilletRadius, boost::optional< double > v8_OuterFilletRadius) : IfcRectangleProfileDef(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_WallThickness)); if (v7_InnerFilletRadius) {set_attribute_value(6, (*v7_InnerFilletRadius)); } if (v8_OuterFilletRadius) {set_attribute_value(7, (*v8_OuterFilletRadius)); } } +Ifc4x3_add2::IfcRectangleHollowProfileDef::IfcRectangleHollowProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, boost::optional< double > v7_InnerFilletRadius, boost::optional< double > v8_OuterFilletRadius) : IfcRectangleProfileDef(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_WallThickness)); if (v7_InnerFilletRadius) {set_attribute_value(6, (*v7_InnerFilletRadius)); } if (v8_OuterFilletRadius) {set_attribute_value(7, (*v8_OuterFilletRadius)); }; populate_derived(); } // Function implementations for IfcRectangleProfileDef double Ifc4x3_add2::IfcRectangleProfileDef::XDim() const { double v = data_.get_attribute_value(3); return v; } @@ -14304,7 +14304,7 @@ void Ifc4x3_add2::IfcRectangleProfileDef::setYDim(double v) { set_attribute_valu const IfcParse::entity& Ifc4x3_add2::IfcRectangleProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[874]); } const IfcParse::entity& Ifc4x3_add2::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[874]); } Ifc4x3_add2::IfcRectangleProfileDef::IfcRectangleProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcRectangleProfileDef::IfcRectangleProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_XDim, double v5_YDim) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +Ifc4x3_add2::IfcRectangleProfileDef::IfcRectangleProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_XDim, double v5_YDim) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));; populate_derived(); } // Function implementations for IfcRectangularPyramid double Ifc4x3_add2::IfcRectangularPyramid::XLength() const { double v = data_.get_attribute_value(1); return v; } @@ -14318,7 +14318,7 @@ void Ifc4x3_add2::IfcRectangularPyramid::setHeight(double v) { set_attribute_val const IfcParse::entity& Ifc4x3_add2::IfcRectangularPyramid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[875]); } const IfcParse::entity& Ifc4x3_add2::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[875]); } Ifc4x3_add2::IfcRectangularPyramid::IfcRectangularPyramid(IfcEntityInstanceData&& e) : IfcCsgPrimitive3D(std::move(e)) { } -Ifc4x3_add2::IfcRectangularPyramid::IfcRectangularPyramid(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_XLength, double v3_YLength, double v4_Height) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } +Ifc4x3_add2::IfcRectangularPyramid::IfcRectangularPyramid(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_XLength, double v3_YLength, double v4_Height) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height));; populate_derived(); } // Function implementations for IfcRectangularTrimmedSurface ::Ifc4x3_add2::IfcSurface* Ifc4x3_add2::IfcRectangularTrimmedSurface::BasisSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSurface>(true); } @@ -14340,7 +14340,7 @@ void Ifc4x3_add2::IfcRectangularTrimmedSurface::setVsense(bool v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcRectangularTrimmedSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[876]); } const IfcParse::entity& Ifc4x3_add2::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[876]); } Ifc4x3_add2::IfcRectangularTrimmedSurface::IfcRectangularTrimmedSurface(IfcEntityInstanceData&& e) : IfcBoundedSurface(std::move(e)) { } -Ifc4x3_add2::IfcRectangularTrimmedSurface::IfcRectangularTrimmedSurface(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_U1));set_attribute_value(2, (v3_V1));set_attribute_value(3, (v4_U2));set_attribute_value(4, (v5_V2));set_attribute_value(5, (v6_Usense));set_attribute_value(6, (v7_Vsense)); } +Ifc4x3_add2::IfcRectangularTrimmedSurface::IfcRectangularTrimmedSurface(::Ifc4x3_add2::IfcSurface* v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) : IfcBoundedSurface(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_BasisSurface ? v1_BasisSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_U1));set_attribute_value(2, (v3_V1));set_attribute_value(3, (v4_U2));set_attribute_value(4, (v5_V2));set_attribute_value(5, (v6_Usense));set_attribute_value(6, (v7_Vsense));; populate_derived(); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value Ifc4x3_add2::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_add2::IfcRecurrenceTypeEnum::FromString(data_.get_attribute_value(0)); } @@ -14364,7 +14364,7 @@ void Ifc4x3_add2::IfcRecurrencePattern::setTimePeriods(boost::optional< aggregat const IfcParse::entity& Ifc4x3_add2::IfcRecurrencePattern::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[877]); } const IfcParse::entity& Ifc4x3_add2::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[877]); } Ifc4x3_add2::IfcRecurrencePattern::IfcRecurrencePattern(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcRecurrencePattern::IfcRecurrencePattern(::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, boost::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, boost::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, boost::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, boost::optional< int > v5_Position, boost::optional< int > v6_Interval, boost::optional< int > v7_Occurrences, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcTimePeriod >::ptr > v8_TimePeriods) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcRecurrenceTypeEnum::Class(),(size_t)v1_RecurrenceType))); if (v2_DayComponent) {set_attribute_value(1, (*v2_DayComponent)); } if (v3_WeekdayComponent) {set_attribute_value(2, (*v3_WeekdayComponent)); } if (v4_MonthComponent) {set_attribute_value(3, (*v4_MonthComponent)); } if (v5_Position) {set_attribute_value(4, (*v5_Position)); } if (v6_Interval) {set_attribute_value(5, (*v6_Interval)); } if (v7_Occurrences) {set_attribute_value(6, (*v7_Occurrences)); } if (v8_TimePeriods) {set_attribute_value(7, (*v8_TimePeriods)->generalize()); } } +Ifc4x3_add2::IfcRecurrencePattern::IfcRecurrencePattern(::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, boost::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, boost::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, boost::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, boost::optional< int > v5_Position, boost::optional< int > v6_Interval, boost::optional< int > v7_Occurrences, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcTimePeriod >::ptr > v8_TimePeriods) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcRecurrenceTypeEnum::Class(),(size_t)v1_RecurrenceType))); if (v2_DayComponent) {set_attribute_value(1, (*v2_DayComponent)); } if (v3_WeekdayComponent) {set_attribute_value(2, (*v3_WeekdayComponent)); } if (v4_MonthComponent) {set_attribute_value(3, (*v4_MonthComponent)); } if (v5_Position) {set_attribute_value(4, (*v5_Position)); } if (v6_Interval) {set_attribute_value(5, (*v6_Interval)); } if (v7_Occurrences) {set_attribute_value(6, (*v7_Occurrences)); } if (v8_TimePeriods) {set_attribute_value(7, (*v8_TimePeriods)->generalize()); }; populate_derived(); } // Function implementations for IfcReference boost::optional< std::string > Ifc4x3_add2::IfcReference::TypeIdentifier() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -14382,7 +14382,7 @@ void Ifc4x3_add2::IfcReference::setInnerReference(::Ifc4x3_add2::IfcReference* v const IfcParse::entity& Ifc4x3_add2::IfcReference::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[879]); } const IfcParse::entity& Ifc4x3_add2::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[879]); } Ifc4x3_add2::IfcReference::IfcReference(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcReference::IfcReference(boost::optional< std::string > v1_TypeIdentifier, boost::optional< std::string > v2_AttributeIdentifier, boost::optional< std::string > v3_InstanceName, boost::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add2::IfcReference* v5_InnerReference) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { if (v1_TypeIdentifier) {set_attribute_value(0, (*v1_TypeIdentifier)); } if (v2_AttributeIdentifier) {set_attribute_value(1, (*v2_AttributeIdentifier)); } if (v3_InstanceName) {set_attribute_value(2, (*v3_InstanceName)); } if (v4_ListPositions) {set_attribute_value(3, (*v4_ListPositions)); }set_attribute_value(4, v5_InnerReference ? v5_InnerReference->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcReference::IfcReference(boost::optional< std::string > v1_TypeIdentifier, boost::optional< std::string > v2_AttributeIdentifier, boost::optional< std::string > v3_InstanceName, boost::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add2::IfcReference* v5_InnerReference) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { if (v1_TypeIdentifier) {set_attribute_value(0, (*v1_TypeIdentifier)); } if (v2_AttributeIdentifier) {set_attribute_value(1, (*v2_AttributeIdentifier)); } if (v3_InstanceName) {set_attribute_value(2, (*v3_InstanceName)); } if (v4_ListPositions) {set_attribute_value(3, (*v4_ListPositions)); }set_attribute_value(4, v5_InnerReference ? v5_InnerReference->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcReferent boost::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > Ifc4x3_add2::IfcReferent::PredefinedType() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcReferentTypeEnum::FromString(data_.get_attribute_value(7)); } @@ -14392,7 +14392,7 @@ void Ifc4x3_add2::IfcReferent::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcReferent::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[880]); } const IfcParse::entity& Ifc4x3_add2::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[880]); } Ifc4x3_add2::IfcReferent::IfcReferent(IfcEntityInstanceData&& e) : IfcPositioningElement(std::move(e)) { } -Ifc4x3_add2::IfcReferent::IfcReferent(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > v8_PredefinedType) : IfcPositioningElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +Ifc4x3_add2::IfcReferent::IfcReferent(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > v8_PredefinedType) : IfcPositioningElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRegularTimeSeries double Ifc4x3_add2::IfcRegularTimeSeries::TimeStep() const { double v = data_.get_attribute_value(8); return v; } @@ -14404,7 +14404,7 @@ void Ifc4x3_add2::IfcRegularTimeSeries::setValues(aggregate_of< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcRegularTimeSeries::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[883]); } const IfcParse::entity& Ifc4x3_add2::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[883]); } Ifc4x3_add2::IfcRegularTimeSeries::IfcRegularTimeSeries(IfcEntityInstanceData&& e) : IfcTimeSeries(std::move(e)) { } -Ifc4x3_add2::IfcRegularTimeSeries::IfcRegularTimeSeries(std::string v1_Name, boost::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add2::IfcDataOriginEnum::Value v6_DataOrigin, boost::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit* v8_Unit, double v9_TimeStep, aggregate_of< ::Ifc4x3_add2::IfcTimeSeriesValue >::ptr v10_Values) : IfcTimeSeries(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, v8_Unit ? v8_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, (v10_Values)->generalize()); } +Ifc4x3_add2::IfcRegularTimeSeries::IfcRegularTimeSeries(std::string v1_Name, boost::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add2::IfcDataOriginEnum::Value v6_DataOrigin, boost::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit* v8_Unit, double v9_TimeStep, aggregate_of< ::Ifc4x3_add2::IfcTimeSeriesValue >::ptr v10_Values) : IfcTimeSeries(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, v8_Unit ? v8_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, (v10_Values)->generalize());; populate_derived(); } // Function implementations for IfcReinforcedSoil boost::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_add2::IfcReinforcedSoil::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -14414,7 +14414,7 @@ void Ifc4x3_add2::IfcReinforcedSoil::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcReinforcedSoil::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[884]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[884]); } Ifc4x3_add2::IfcReinforcedSoil::IfcReinforcedSoil(IfcEntityInstanceData&& e) : IfcEarthworksElement(std::move(e)) { } -Ifc4x3_add2::IfcReinforcedSoil::IfcReinforcedSoil(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) : IfcEarthworksElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcReinforcedSoil::IfcReinforcedSoil(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) : IfcEarthworksElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_add2::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = data_.get_attribute_value(0); return v; } @@ -14434,7 +14434,7 @@ void Ifc4x3_add2::IfcReinforcementBarProperties::setBarCount(boost::optional< in const IfcParse::entity& Ifc4x3_add2::IfcReinforcementBarProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[886]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[886]); } Ifc4x3_add2::IfcReinforcementBarProperties::IfcReinforcementBarProperties(IfcEntityInstanceData&& e) : IfcPreDefinedProperties(std::move(e)) { } -Ifc4x3_add2::IfcReinforcementBarProperties::IfcReinforcementBarProperties(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, boost::optional< double > v4_EffectiveDepth, boost::optional< double > v5_NominalBarDiameter, boost::optional< int > v6_BarCount) : IfcPreDefinedProperties(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v3_BarSurface))); } if (v4_EffectiveDepth) {set_attribute_value(3, (*v4_EffectiveDepth)); } if (v5_NominalBarDiameter) {set_attribute_value(4, (*v5_NominalBarDiameter)); } if (v6_BarCount) {set_attribute_value(5, (*v6_BarCount)); } } +Ifc4x3_add2::IfcReinforcementBarProperties::IfcReinforcementBarProperties(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, boost::optional< double > v4_EffectiveDepth, boost::optional< double > v5_NominalBarDiameter, boost::optional< int > v6_BarCount) : IfcPreDefinedProperties(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v3_BarSurface))); } if (v4_EffectiveDepth) {set_attribute_value(3, (*v4_EffectiveDepth)); } if (v5_NominalBarDiameter) {set_attribute_value(4, (*v5_NominalBarDiameter)); } if (v6_BarCount) {set_attribute_value(5, (*v6_BarCount)); }; populate_derived(); } // Function implementations for IfcReinforcementDefinitionProperties boost::optional< std::string > Ifc4x3_add2::IfcReinforcementDefinitionProperties::DefinitionType() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(4); return v; } @@ -14446,7 +14446,7 @@ void Ifc4x3_add2::IfcReinforcementDefinitionProperties::setReinforcementSectionD const IfcParse::entity& Ifc4x3_add2::IfcReinforcementDefinitionProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[887]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[887]); } Ifc4x3_add2::IfcReinforcementDefinitionProperties::IfcReinforcementDefinitionProperties(IfcEntityInstanceData&& e) : IfcPreDefinedPropertySet(std::move(e)) { } -Ifc4x3_add2::IfcReinforcementDefinitionProperties::IfcReinforcementDefinitionProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_DefinitionType, aggregate_of< ::Ifc4x3_add2::IfcSectionReinforcementProperties >::ptr v6_ReinforcementSectionDefinitions) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_DefinitionType) {set_attribute_value(4, (*v5_DefinitionType)); }set_attribute_value(5, (v6_ReinforcementSectionDefinitions)->generalize()); } +Ifc4x3_add2::IfcReinforcementDefinitionProperties::IfcReinforcementDefinitionProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_DefinitionType, aggregate_of< ::Ifc4x3_add2::IfcSectionReinforcementProperties >::ptr v6_ReinforcementSectionDefinitions) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_DefinitionType) {set_attribute_value(4, (*v5_DefinitionType)); }set_attribute_value(5, (v6_ReinforcementSectionDefinitions)->generalize());; populate_derived(); } // Function implementations for IfcReinforcingBar boost::optional< double > Ifc4x3_add2::IfcReinforcingBar::NominalDiameter() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } double v = data_.get_attribute_value(9); return v; } @@ -14464,7 +14464,7 @@ void Ifc4x3_add2::IfcReinforcingBar::setBarSurface(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcReinforcingBar::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[888]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[888]); } Ifc4x3_add2::IfcReinforcingBar::IfcReinforcingBar(IfcEntityInstanceData&& e) : IfcReinforcingElement(std::move(e)) { } -Ifc4x3_add2::IfcReinforcingBar::IfcReinforcingBar(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< double > v10_NominalDiameter, boost::optional< double > v11_CrossSectionArea, boost::optional< double > v12_BarLength, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_NominalDiameter) {set_attribute_value(9, (*v10_NominalDiameter)); } if (v11_CrossSectionArea) {set_attribute_value(10, (*v11_CrossSectionArea)); } if (v12_BarLength) {set_attribute_value(11, (*v12_BarLength)); } if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +Ifc4x3_add2::IfcReinforcingBar::IfcReinforcingBar(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< double > v10_NominalDiameter, boost::optional< double > v11_CrossSectionArea, boost::optional< double > v12_BarLength, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_NominalDiameter) {set_attribute_value(9, (*v10_NominalDiameter)); } if (v11_CrossSectionArea) {set_attribute_value(10, (*v11_CrossSectionArea)); } if (v12_BarLength) {set_attribute_value(11, (*v12_BarLength)); } if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); }; populate_derived(); } // Function implementations for IfcReinforcingBarType ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value Ifc4x3_add2::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14486,7 +14486,7 @@ void Ifc4x3_add2::IfcReinforcingBarType::setBendingParameters(boost::optional< a const IfcParse::entity& Ifc4x3_add2::IfcReinforcingBarType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[891]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[891]); } Ifc4x3_add2::IfcReinforcingBarType::IfcReinforcingBarType(IfcEntityInstanceData&& e) : IfcReinforcingElementType(std::move(e)) { } -Ifc4x3_add2::IfcReinforcingBarType::IfcReinforcingBarType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_CrossSectionArea, boost::optional< double > v13_BarLength, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, boost::optional< std::string > v15_BendingShapeCode, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcBendingParameterSelect >::ptr > v16_BendingParameters) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(16))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_BarLength) {set_attribute_value(12, (*v13_BarLength)); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, (*v16_BendingParameters)->generalize()); } } +Ifc4x3_add2::IfcReinforcingBarType::IfcReinforcingBarType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_CrossSectionArea, boost::optional< double > v13_BarLength, boost::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, boost::optional< std::string > v15_BendingShapeCode, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcBendingParameterSelect >::ptr > v16_BendingParameters) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(16))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_BarLength) {set_attribute_value(12, (*v13_BarLength)); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, (*v16_BendingParameters)->generalize()); }; populate_derived(); } // Function implementations for IfcReinforcingElement boost::optional< std::string > Ifc4x3_add2::IfcReinforcingElement::SteelGrade() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(8); return v; } @@ -14496,7 +14496,7 @@ void Ifc4x3_add2::IfcReinforcingElement::setSteelGrade(boost::optional< std::str const IfcParse::entity& Ifc4x3_add2::IfcReinforcingElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[893]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[893]); } Ifc4x3_add2::IfcReinforcingElement::IfcReinforcingElement(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcReinforcingElement::IfcReinforcingElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } +Ifc4x3_add2::IfcReinforcingElement::IfcReinforcingElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }; populate_derived(); } // Function implementations for IfcReinforcingElementType @@ -14504,7 +14504,7 @@ Ifc4x3_add2::IfcReinforcingElement::IfcReinforcingElement(std::string v1_GlobalI const IfcParse::entity& Ifc4x3_add2::IfcReinforcingElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[894]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[894]); } Ifc4x3_add2::IfcReinforcingElementType::IfcReinforcingElementType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcReinforcingElementType::IfcReinforcingElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcReinforcingElementType::IfcReinforcingElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcReinforcingMesh boost::optional< double > Ifc4x3_add2::IfcReinforcingMesh::MeshLength() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } double v = data_.get_attribute_value(9); return v; } @@ -14530,7 +14530,7 @@ void Ifc4x3_add2::IfcReinforcingMesh::setPredefinedType(boost::optional< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcReinforcingMesh::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[895]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[895]); } Ifc4x3_add2::IfcReinforcingMesh::IfcReinforcingMesh(IfcEntityInstanceData&& e) : IfcReinforcingElement(std::move(e)) { } -Ifc4x3_add2::IfcReinforcingMesh::IfcReinforcingMesh(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< double > v10_MeshLength, boost::optional< double > v11_MeshWidth, boost::optional< double > v12_LongitudinalBarNominalDiameter, boost::optional< double > v13_TransverseBarNominalDiameter, boost::optional< double > v14_LongitudinalBarCrossSectionArea, boost::optional< double > v15_TransverseBarCrossSectionArea, boost::optional< double > v16_LongitudinalBarSpacing, boost::optional< double > v17_TransverseBarSpacing, boost::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(18))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_MeshLength) {set_attribute_value(9, (*v10_MeshLength)); } if (v11_MeshWidth) {set_attribute_value(10, (*v11_MeshWidth)); } if (v12_LongitudinalBarNominalDiameter) {set_attribute_value(11, (*v12_LongitudinalBarNominalDiameter)); } if (v13_TransverseBarNominalDiameter) {set_attribute_value(12, (*v13_TransverseBarNominalDiameter)); } if (v14_LongitudinalBarCrossSectionArea) {set_attribute_value(13, (*v14_LongitudinalBarCrossSectionArea)); } if (v15_TransverseBarCrossSectionArea) {set_attribute_value(14, (*v15_TransverseBarCrossSectionArea)); } if (v16_LongitudinalBarSpacing) {set_attribute_value(15, (*v16_LongitudinalBarSpacing)); } if (v17_TransverseBarSpacing) {set_attribute_value(16, (*v17_TransverseBarSpacing)); } if (v18_PredefinedType) {set_attribute_value(17, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +Ifc4x3_add2::IfcReinforcingMesh::IfcReinforcingMesh(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< double > v10_MeshLength, boost::optional< double > v11_MeshWidth, boost::optional< double > v12_LongitudinalBarNominalDiameter, boost::optional< double > v13_TransverseBarNominalDiameter, boost::optional< double > v14_LongitudinalBarCrossSectionArea, boost::optional< double > v15_TransverseBarCrossSectionArea, boost::optional< double > v16_LongitudinalBarSpacing, boost::optional< double > v17_TransverseBarSpacing, boost::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(18))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_MeshLength) {set_attribute_value(9, (*v10_MeshLength)); } if (v11_MeshWidth) {set_attribute_value(10, (*v11_MeshWidth)); } if (v12_LongitudinalBarNominalDiameter) {set_attribute_value(11, (*v12_LongitudinalBarNominalDiameter)); } if (v13_TransverseBarNominalDiameter) {set_attribute_value(12, (*v13_TransverseBarNominalDiameter)); } if (v14_LongitudinalBarCrossSectionArea) {set_attribute_value(13, (*v14_LongitudinalBarCrossSectionArea)); } if (v15_TransverseBarCrossSectionArea) {set_attribute_value(14, (*v15_TransverseBarCrossSectionArea)); } if (v16_LongitudinalBarSpacing) {set_attribute_value(15, (*v16_LongitudinalBarSpacing)); } if (v17_TransverseBarSpacing) {set_attribute_value(16, (*v17_TransverseBarSpacing)); } if (v18_PredefinedType) {set_attribute_value(17, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); }; populate_derived(); } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value Ifc4x3_add2::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -14560,7 +14560,7 @@ void Ifc4x3_add2::IfcReinforcingMeshType::setBendingParameters(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcReinforcingMeshType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[896]); } const IfcParse::entity& Ifc4x3_add2::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[896]); } Ifc4x3_add2::IfcReinforcingMeshType::IfcReinforcingMeshType(IfcEntityInstanceData&& e) : IfcReinforcingElementType(std::move(e)) { } -Ifc4x3_add2::IfcReinforcingMeshType::IfcReinforcingMeshType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_MeshLength, boost::optional< double > v12_MeshWidth, boost::optional< double > v13_LongitudinalBarNominalDiameter, boost::optional< double > v14_TransverseBarNominalDiameter, boost::optional< double > v15_LongitudinalBarCrossSectionArea, boost::optional< double > v16_TransverseBarCrossSectionArea, boost::optional< double > v17_LongitudinalBarSpacing, boost::optional< double > v18_TransverseBarSpacing, boost::optional< std::string > v19_BendingShapeCode, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcBendingParameterSelect >::ptr > v20_BendingParameters) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(20))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_MeshLength) {set_attribute_value(10, (*v11_MeshLength)); } if (v12_MeshWidth) {set_attribute_value(11, (*v12_MeshWidth)); } if (v13_LongitudinalBarNominalDiameter) {set_attribute_value(12, (*v13_LongitudinalBarNominalDiameter)); } if (v14_TransverseBarNominalDiameter) {set_attribute_value(13, (*v14_TransverseBarNominalDiameter)); } if (v15_LongitudinalBarCrossSectionArea) {set_attribute_value(14, (*v15_LongitudinalBarCrossSectionArea)); } if (v16_TransverseBarCrossSectionArea) {set_attribute_value(15, (*v16_TransverseBarCrossSectionArea)); } if (v17_LongitudinalBarSpacing) {set_attribute_value(16, (*v17_LongitudinalBarSpacing)); } if (v18_TransverseBarSpacing) {set_attribute_value(17, (*v18_TransverseBarSpacing)); } if (v19_BendingShapeCode) {set_attribute_value(18, (*v19_BendingShapeCode)); } if (v20_BendingParameters) {set_attribute_value(19, (*v20_BendingParameters)->generalize()); } } +Ifc4x3_add2::IfcReinforcingMeshType::IfcReinforcingMeshType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_MeshLength, boost::optional< double > v12_MeshWidth, boost::optional< double > v13_LongitudinalBarNominalDiameter, boost::optional< double > v14_TransverseBarNominalDiameter, boost::optional< double > v15_LongitudinalBarCrossSectionArea, boost::optional< double > v16_TransverseBarCrossSectionArea, boost::optional< double > v17_LongitudinalBarSpacing, boost::optional< double > v18_TransverseBarSpacing, boost::optional< std::string > v19_BendingShapeCode, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcBendingParameterSelect >::ptr > v20_BendingParameters) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(20))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_MeshLength) {set_attribute_value(10, (*v11_MeshLength)); } if (v12_MeshWidth) {set_attribute_value(11, (*v12_MeshWidth)); } if (v13_LongitudinalBarNominalDiameter) {set_attribute_value(12, (*v13_LongitudinalBarNominalDiameter)); } if (v14_TransverseBarNominalDiameter) {set_attribute_value(13, (*v14_TransverseBarNominalDiameter)); } if (v15_LongitudinalBarCrossSectionArea) {set_attribute_value(14, (*v15_LongitudinalBarCrossSectionArea)); } if (v16_TransverseBarCrossSectionArea) {set_attribute_value(15, (*v16_TransverseBarCrossSectionArea)); } if (v17_LongitudinalBarSpacing) {set_attribute_value(16, (*v17_LongitudinalBarSpacing)); } if (v18_TransverseBarSpacing) {set_attribute_value(17, (*v18_TransverseBarSpacing)); } if (v19_BendingShapeCode) {set_attribute_value(18, (*v19_BendingShapeCode)); } if (v20_BendingParameters) {set_attribute_value(19, (*v20_BendingParameters)->generalize()); }; populate_derived(); } // Function implementations for IfcRelAdheresToElement ::Ifc4x3_add2::IfcElement* Ifc4x3_add2::IfcRelAdheresToElement::RelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcElement>(true); } @@ -14572,7 +14572,7 @@ void Ifc4x3_add2::IfcRelAdheresToElement::setRelatedSurfaceFeatures(aggregate_of const IfcParse::entity& Ifc4x3_add2::IfcRelAdheresToElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[898]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAdheresToElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[898]); } Ifc4x3_add2::IfcRelAdheresToElement::IfcRelAdheresToElement(IfcEntityInstanceData&& e) : IfcRelDecomposes(std::move(e)) { } -Ifc4x3_add2::IfcRelAdheresToElement::IfcRelAdheresToElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingElement, aggregate_of< ::Ifc4x3_add2::IfcSurfaceFeature >::ptr v6_RelatedSurfaceFeatures) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedSurfaceFeatures)->generalize()); } +Ifc4x3_add2::IfcRelAdheresToElement::IfcRelAdheresToElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingElement, aggregate_of< ::Ifc4x3_add2::IfcSurfaceFeature >::ptr v6_RelatedSurfaceFeatures) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedSurfaceFeatures)->generalize());; populate_derived(); } // Function implementations for IfcRelAggregates ::Ifc4x3_add2::IfcObjectDefinition* Ifc4x3_add2::IfcRelAggregates::RelatingObject() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcObjectDefinition>(true); } @@ -14584,7 +14584,7 @@ void Ifc4x3_add2::IfcRelAggregates::setRelatedObjects(aggregate_of< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcRelAggregates::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[899]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[899]); } Ifc4x3_add2::IfcRelAggregates::IfcRelAggregates(IfcEntityInstanceData&& e) : IfcRelDecomposes(std::move(e)) { } -Ifc4x3_add2::IfcRelAggregates::IfcRelAggregates(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition* v5_RelatingObject, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v6_RelatedObjects) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingObject ? v5_RelatingObject->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedObjects)->generalize()); } +Ifc4x3_add2::IfcRelAggregates::IfcRelAggregates(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition* v5_RelatingObject, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v6_RelatedObjects) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingObject ? v5_RelatingObject->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedObjects)->generalize());; populate_derived(); } // Function implementations for IfcRelAssigns aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr Ifc4x3_add2::IfcRelAssigns::RelatedObjects() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcObjectDefinition >(); } @@ -14596,7 +14596,7 @@ void Ifc4x3_add2::IfcRelAssigns::setRelatedObjectsType(boost::optional< bool > v const IfcParse::entity& Ifc4x3_add2::IfcRelAssigns::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[900]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[900]); } Ifc4x3_add2::IfcRelAssigns::IfcRelAssigns(IfcEntityInstanceData&& e) : IfcRelationship(std::move(e)) { } -Ifc4x3_add2::IfcRelAssigns::IfcRelAssigns(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType) : IfcRelationship(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); } } +Ifc4x3_add2::IfcRelAssigns::IfcRelAssigns(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType) : IfcRelationship(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }; populate_derived(); } // Function implementations for IfcRelAssignsToActor ::Ifc4x3_add2::IfcActor* Ifc4x3_add2::IfcRelAssignsToActor::RelatingActor() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(6)))->as<::Ifc4x3_add2::IfcActor>(true); } @@ -14608,7 +14608,7 @@ void Ifc4x3_add2::IfcRelAssignsToActor::setActingRole(::Ifc4x3_add2::IfcActorRol const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToActor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[901]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[901]); } Ifc4x3_add2::IfcRelAssignsToActor::IfcRelAssignsToActor(IfcEntityInstanceData&& e) : IfcRelAssigns(std::move(e)) { } -Ifc4x3_add2::IfcRelAssignsToActor::IfcRelAssignsToActor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcActor* v7_RelatingActor, ::Ifc4x3_add2::IfcActorRole* v8_ActingRole) : IfcRelAssigns(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingActor ? v7_RelatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_ActingRole ? v8_ActingRole->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssignsToActor::IfcRelAssignsToActor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcActor* v7_RelatingActor, ::Ifc4x3_add2::IfcActorRole* v8_ActingRole) : IfcRelAssigns(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingActor ? v7_RelatingActor->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_ActingRole ? v8_ActingRole->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssignsToControl ::Ifc4x3_add2::IfcControl* Ifc4x3_add2::IfcRelAssignsToControl::RelatingControl() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(6)))->as<::Ifc4x3_add2::IfcControl>(true); } @@ -14618,7 +14618,7 @@ void Ifc4x3_add2::IfcRelAssignsToControl::setRelatingControl(::Ifc4x3_add2::IfcC const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToControl::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[902]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[902]); } Ifc4x3_add2::IfcRelAssignsToControl::IfcRelAssignsToControl(IfcEntityInstanceData&& e) : IfcRelAssigns(std::move(e)) { } -Ifc4x3_add2::IfcRelAssignsToControl::IfcRelAssignsToControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcControl* v7_RelatingControl) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingControl ? v7_RelatingControl->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssignsToControl::IfcRelAssignsToControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcControl* v7_RelatingControl) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingControl ? v7_RelatingControl->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x3_add2::IfcGroup* Ifc4x3_add2::IfcRelAssignsToGroup::RelatingGroup() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(6)))->as<::Ifc4x3_add2::IfcGroup>(true); } @@ -14628,7 +14628,7 @@ void Ifc4x3_add2::IfcRelAssignsToGroup::setRelatingGroup(::Ifc4x3_add2::IfcGroup const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToGroup::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[903]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[903]); } Ifc4x3_add2::IfcRelAssignsToGroup::IfcRelAssignsToGroup(IfcEntityInstanceData&& e) : IfcRelAssigns(std::move(e)) { } -Ifc4x3_add2::IfcRelAssignsToGroup::IfcRelAssignsToGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup* v7_RelatingGroup) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingGroup ? v7_RelatingGroup->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssignsToGroup::IfcRelAssignsToGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup* v7_RelatingGroup) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingGroup ? v7_RelatingGroup->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x3_add2::IfcRelAssignsToGroupByFactor::Factor() const { double v = data_.get_attribute_value(7); return v; } @@ -14638,7 +14638,7 @@ void Ifc4x3_add2::IfcRelAssignsToGroupByFactor::setFactor(double v) { set_attrib const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToGroupByFactor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[904]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[904]); } Ifc4x3_add2::IfcRelAssignsToGroupByFactor::IfcRelAssignsToGroupByFactor(IfcEntityInstanceData&& e) : IfcRelAssignsToGroup(std::move(e)) { } -Ifc4x3_add2::IfcRelAssignsToGroupByFactor::IfcRelAssignsToGroupByFactor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup* v7_RelatingGroup, double v8_Factor) : IfcRelAssignsToGroup(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingGroup ? v7_RelatingGroup->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_Factor)); } +Ifc4x3_add2::IfcRelAssignsToGroupByFactor::IfcRelAssignsToGroupByFactor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup* v7_RelatingGroup, double v8_Factor) : IfcRelAssignsToGroup(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingGroup ? v7_RelatingGroup->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_Factor));; populate_derived(); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x3_add2::IfcProcessSelect* Ifc4x3_add2::IfcRelAssignsToProcess::RelatingProcess() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(6)))->as<::Ifc4x3_add2::IfcProcessSelect>(true); } @@ -14650,7 +14650,7 @@ void Ifc4x3_add2::IfcRelAssignsToProcess::setQuantityInProcess(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToProcess::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[905]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[905]); } Ifc4x3_add2::IfcRelAssignsToProcess::IfcRelAssignsToProcess(IfcEntityInstanceData&& e) : IfcRelAssigns(std::move(e)) { } -Ifc4x3_add2::IfcRelAssignsToProcess::IfcRelAssignsToProcess(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProcessSelect* v7_RelatingProcess, ::Ifc4x3_add2::IfcMeasureWithUnit* v8_QuantityInProcess) : IfcRelAssigns(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingProcess ? v7_RelatingProcess->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_QuantityInProcess ? v8_QuantityInProcess->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssignsToProcess::IfcRelAssignsToProcess(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProcessSelect* v7_RelatingProcess, ::Ifc4x3_add2::IfcMeasureWithUnit* v8_QuantityInProcess) : IfcRelAssigns(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingProcess ? v7_RelatingProcess->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_QuantityInProcess ? v8_QuantityInProcess->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x3_add2::IfcProductSelect* Ifc4x3_add2::IfcRelAssignsToProduct::RelatingProduct() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(6)))->as<::Ifc4x3_add2::IfcProductSelect>(true); } @@ -14660,7 +14660,7 @@ void Ifc4x3_add2::IfcRelAssignsToProduct::setRelatingProduct(::Ifc4x3_add2::IfcP const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToProduct::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[906]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[906]); } Ifc4x3_add2::IfcRelAssignsToProduct::IfcRelAssignsToProduct(IfcEntityInstanceData&& e) : IfcRelAssigns(std::move(e)) { } -Ifc4x3_add2::IfcRelAssignsToProduct::IfcRelAssignsToProduct(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProductSelect* v7_RelatingProduct) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingProduct ? v7_RelatingProduct->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssignsToProduct::IfcRelAssignsToProduct(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProductSelect* v7_RelatingProduct) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingProduct ? v7_RelatingProduct->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssignsToResource ::Ifc4x3_add2::IfcResourceSelect* Ifc4x3_add2::IfcRelAssignsToResource::RelatingResource() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(6)))->as<::Ifc4x3_add2::IfcResourceSelect>(true); } @@ -14670,7 +14670,7 @@ void Ifc4x3_add2::IfcRelAssignsToResource::setRelatingResource(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[907]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[907]); } Ifc4x3_add2::IfcRelAssignsToResource::IfcRelAssignsToResource(IfcEntityInstanceData&& e) : IfcRelAssigns(std::move(e)) { } -Ifc4x3_add2::IfcRelAssignsToResource::IfcRelAssignsToResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcResourceSelect* v7_RelatingResource) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingResource ? v7_RelatingResource->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssignsToResource::IfcRelAssignsToResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, boost::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcResourceSelect* v7_RelatingResource) : IfcRelAssigns(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, v7_RelatingResource ? v7_RelatingResource->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssociates aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr Ifc4x3_add2::IfcRelAssociates::RelatedObjects() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcDefinitionSelect >(); } @@ -14680,7 +14680,7 @@ void Ifc4x3_add2::IfcRelAssociates::setRelatedObjects(aggregate_of< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcRelAssociates::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[908]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[908]); } Ifc4x3_add2::IfcRelAssociates::IfcRelAssociates(IfcEntityInstanceData&& e) : IfcRelationship(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociates::IfcRelAssociates(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects) : IfcRelationship(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); } +Ifc4x3_add2::IfcRelAssociates::IfcRelAssociates(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects) : IfcRelationship(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());; populate_derived(); } // Function implementations for IfcRelAssociatesApproval ::Ifc4x3_add2::IfcApproval* Ifc4x3_add2::IfcRelAssociatesApproval::RelatingApproval() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcApproval>(true); } @@ -14690,7 +14690,7 @@ void Ifc4x3_add2::IfcRelAssociatesApproval::setRelatingApproval(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesApproval::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[909]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[909]); } Ifc4x3_add2::IfcRelAssociatesApproval::IfcRelAssociatesApproval(IfcEntityInstanceData&& e) : IfcRelAssociates(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociatesApproval::IfcRelAssociatesApproval(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcApproval* v6_RelatingApproval) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingApproval ? v6_RelatingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssociatesApproval::IfcRelAssociatesApproval(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcApproval* v6_RelatingApproval) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingApproval ? v6_RelatingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssociatesClassification ::Ifc4x3_add2::IfcClassificationSelect* Ifc4x3_add2::IfcRelAssociatesClassification::RelatingClassification() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcClassificationSelect>(true); } @@ -14700,7 +14700,7 @@ void Ifc4x3_add2::IfcRelAssociatesClassification::setRelatingClassification(::If const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesClassification::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[910]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[910]); } Ifc4x3_add2::IfcRelAssociatesClassification::IfcRelAssociatesClassification(IfcEntityInstanceData&& e) : IfcRelAssociates(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociatesClassification::IfcRelAssociatesClassification(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcClassificationSelect* v6_RelatingClassification) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingClassification ? v6_RelatingClassification->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssociatesClassification::IfcRelAssociatesClassification(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcClassificationSelect* v6_RelatingClassification) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingClassification ? v6_RelatingClassification->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssociatesConstraint boost::optional< std::string > Ifc4x3_add2::IfcRelAssociatesConstraint::Intent() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(5); return v; } @@ -14712,7 +14712,7 @@ void Ifc4x3_add2::IfcRelAssociatesConstraint::setRelatingConstraint(::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesConstraint::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[911]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[911]); } Ifc4x3_add2::IfcRelAssociatesConstraint::IfcRelAssociatesConstraint(IfcEntityInstanceData&& e) : IfcRelAssociates(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociatesConstraint::IfcRelAssociatesConstraint(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, boost::optional< std::string > v6_Intent, ::Ifc4x3_add2::IfcConstraint* v7_RelatingConstraint) : IfcRelAssociates(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, v7_RelatingConstraint ? v7_RelatingConstraint->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssociatesConstraint::IfcRelAssociatesConstraint(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, boost::optional< std::string > v6_Intent, ::Ifc4x3_add2::IfcConstraint* v7_RelatingConstraint) : IfcRelAssociates(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize()); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, v7_RelatingConstraint ? v7_RelatingConstraint->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssociatesDocument ::Ifc4x3_add2::IfcDocumentSelect* Ifc4x3_add2::IfcRelAssociatesDocument::RelatingDocument() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcDocumentSelect>(true); } @@ -14722,7 +14722,7 @@ void Ifc4x3_add2::IfcRelAssociatesDocument::setRelatingDocument(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesDocument::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[912]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[912]); } Ifc4x3_add2::IfcRelAssociatesDocument::IfcRelAssociatesDocument(IfcEntityInstanceData&& e) : IfcRelAssociates(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociatesDocument::IfcRelAssociatesDocument(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcDocumentSelect* v6_RelatingDocument) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingDocument ? v6_RelatingDocument->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssociatesDocument::IfcRelAssociatesDocument(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcDocumentSelect* v6_RelatingDocument) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingDocument ? v6_RelatingDocument->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssociatesLibrary ::Ifc4x3_add2::IfcLibrarySelect* Ifc4x3_add2::IfcRelAssociatesLibrary::RelatingLibrary() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcLibrarySelect>(true); } @@ -14732,7 +14732,7 @@ void Ifc4x3_add2::IfcRelAssociatesLibrary::setRelatingLibrary(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesLibrary::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[913]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[913]); } Ifc4x3_add2::IfcRelAssociatesLibrary::IfcRelAssociatesLibrary(IfcEntityInstanceData&& e) : IfcRelAssociates(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociatesLibrary::IfcRelAssociatesLibrary(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcLibrarySelect* v6_RelatingLibrary) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingLibrary ? v6_RelatingLibrary->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssociatesLibrary::IfcRelAssociatesLibrary(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcLibrarySelect* v6_RelatingLibrary) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingLibrary ? v6_RelatingLibrary->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssociatesMaterial ::Ifc4x3_add2::IfcMaterialSelect* Ifc4x3_add2::IfcRelAssociatesMaterial::RelatingMaterial() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcMaterialSelect>(true); } @@ -14742,7 +14742,7 @@ void Ifc4x3_add2::IfcRelAssociatesMaterial::setRelatingMaterial(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesMaterial::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[914]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[914]); } Ifc4x3_add2::IfcRelAssociatesMaterial::IfcRelAssociatesMaterial(IfcEntityInstanceData&& e) : IfcRelAssociates(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociatesMaterial::IfcRelAssociatesMaterial(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcMaterialSelect* v6_RelatingMaterial) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingMaterial ? v6_RelatingMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssociatesMaterial::IfcRelAssociatesMaterial(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcMaterialSelect* v6_RelatingMaterial) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingMaterial ? v6_RelatingMaterial->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelAssociatesProfileDef ::Ifc4x3_add2::IfcProfileDef* Ifc4x3_add2::IfcRelAssociatesProfileDef::RelatingProfileDef() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcProfileDef>(true); } @@ -14752,7 +14752,7 @@ void Ifc4x3_add2::IfcRelAssociatesProfileDef::setRelatingProfileDef(::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[915]); } const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[915]); } Ifc4x3_add2::IfcRelAssociatesProfileDef::IfcRelAssociatesProfileDef(IfcEntityInstanceData&& e) : IfcRelAssociates(std::move(e)) { } -Ifc4x3_add2::IfcRelAssociatesProfileDef::IfcRelAssociatesProfileDef(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcProfileDef* v6_RelatingProfileDef) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingProfileDef ? v6_RelatingProfileDef->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelAssociatesProfileDef::IfcRelAssociatesProfileDef(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcProfileDef* v6_RelatingProfileDef) : IfcRelAssociates(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingProfileDef ? v6_RelatingProfileDef->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelConnects @@ -14760,7 +14760,7 @@ Ifc4x3_add2::IfcRelAssociatesProfileDef::IfcRelAssociatesProfileDef(std::string const IfcParse::entity& Ifc4x3_add2::IfcRelConnects::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[917]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[917]); } Ifc4x3_add2::IfcRelConnects::IfcRelConnects(IfcEntityInstanceData&& e) : IfcRelationship(std::move(e)) { } -Ifc4x3_add2::IfcRelConnects::IfcRelConnects(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRelationship(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcRelConnects::IfcRelConnects(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRelationship(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcRelConnectsElements ::Ifc4x3_add2::IfcConnectionGeometry* Ifc4x3_add2::IfcRelConnectsElements::ConnectionGeometry() const { if(data_.get_attribute_value(4).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcConnectionGeometry>(true); } @@ -14774,7 +14774,7 @@ void Ifc4x3_add2::IfcRelConnectsElements::setRelatedElement(::Ifc4x3_add2::IfcEl const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsElements::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[918]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[918]); } Ifc4x3_add2::IfcRelConnectsElements::IfcRelConnectsElements(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsElements::IfcRelConnectsElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry* v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement* v6_RelatingElement, ::Ifc4x3_add2::IfcElement* v7_RelatedElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ConnectionGeometry ? v5_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatingElement ? v6_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RelatedElement ? v7_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelConnectsElements::IfcRelConnectsElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry* v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement* v6_RelatingElement, ::Ifc4x3_add2::IfcElement* v7_RelatedElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ConnectionGeometry ? v5_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatingElement ? v6_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RelatedElement ? v7_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelConnectsPathElements std::vector< int > /*[0:?]*/ Ifc4x3_add2::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = data_.get_attribute_value(7); return v; } @@ -14790,7 +14790,7 @@ void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatingConnectionType(::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPathElements::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[919]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[919]); } Ifc4x3_add2::IfcRelConnectsPathElements::IfcRelConnectsPathElements(IfcEntityInstanceData&& e) : IfcRelConnectsElements(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsPathElements::IfcRelConnectsPathElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry* v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement* v6_RelatingElement, ::Ifc4x3_add2::IfcElement* v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_add2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_add2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) : IfcRelConnectsElements(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ConnectionGeometry ? v5_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatingElement ? v6_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RelatedElement ? v7_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +Ifc4x3_add2::IfcRelConnectsPathElements::IfcRelConnectsPathElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry* v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement* v6_RelatingElement, ::Ifc4x3_add2::IfcElement* v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_add2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_add2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) : IfcRelConnectsElements(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ConnectionGeometry ? v5_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatingElement ? v6_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RelatedElement ? v7_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType)));; populate_derived(); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_add2::IfcPort* Ifc4x3_add2::IfcRelConnectsPortToElement::RelatingPort() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcPort>(true); } @@ -14802,7 +14802,7 @@ void Ifc4x3_add2::IfcRelConnectsPortToElement::setRelatedElement(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPortToElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[921]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[921]); } Ifc4x3_add2::IfcRelConnectsPortToElement::IfcRelConnectsPortToElement(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsPortToElement::IfcRelConnectsPortToElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort* v5_RelatingPort, ::Ifc4x3_add2::IfcDistributionElement* v6_RelatedElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingPort ? v5_RelatingPort->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedElement ? v6_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelConnectsPortToElement::IfcRelConnectsPortToElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort* v5_RelatingPort, ::Ifc4x3_add2::IfcDistributionElement* v6_RelatedElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingPort ? v5_RelatingPort->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedElement ? v6_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelConnectsPorts ::Ifc4x3_add2::IfcPort* Ifc4x3_add2::IfcRelConnectsPorts::RelatingPort() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcPort>(true); } @@ -14816,7 +14816,7 @@ void Ifc4x3_add2::IfcRelConnectsPorts::setRealizingElement(::Ifc4x3_add2::IfcEle const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPorts::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[920]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[920]); } Ifc4x3_add2::IfcRelConnectsPorts::IfcRelConnectsPorts(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsPorts::IfcRelConnectsPorts(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort* v5_RelatingPort, ::Ifc4x3_add2::IfcPort* v6_RelatedPort, ::Ifc4x3_add2::IfcElement* v7_RealizingElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingPort ? v5_RelatingPort->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedPort ? v6_RelatedPort->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RealizingElement ? v7_RealizingElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelConnectsPorts::IfcRelConnectsPorts(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort* v5_RelatingPort, ::Ifc4x3_add2::IfcPort* v6_RelatedPort, ::Ifc4x3_add2::IfcElement* v7_RealizingElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingPort ? v5_RelatingPort->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedPort ? v6_RelatedPort->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RealizingElement ? v7_RealizingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelConnectsStructuralActivity ::Ifc4x3_add2::IfcStructuralActivityAssignmentSelect* Ifc4x3_add2::IfcRelConnectsStructuralActivity::RelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcStructuralActivityAssignmentSelect>(true); } @@ -14828,7 +14828,7 @@ void Ifc4x3_add2::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsStructuralActivity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[922]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[922]); } Ifc4x3_add2::IfcRelConnectsStructuralActivity::IfcRelConnectsStructuralActivity(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsStructuralActivity::IfcRelConnectsStructuralActivity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralActivityAssignmentSelect* v5_RelatingElement, ::Ifc4x3_add2::IfcStructuralActivity* v6_RelatedStructuralActivity) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedStructuralActivity ? v6_RelatedStructuralActivity->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelConnectsStructuralActivity::IfcRelConnectsStructuralActivity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralActivityAssignmentSelect* v5_RelatingElement, ::Ifc4x3_add2::IfcStructuralActivity* v6_RelatedStructuralActivity) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedStructuralActivity ? v6_RelatedStructuralActivity->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelConnectsStructuralMember ::Ifc4x3_add2::IfcStructuralMember* Ifc4x3_add2::IfcRelConnectsStructuralMember::RelatingStructuralMember() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcStructuralMember>(true); } @@ -14848,7 +14848,7 @@ void Ifc4x3_add2::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(: const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsStructuralMember::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[923]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[923]); } Ifc4x3_add2::IfcRelConnectsStructuralMember::IfcRelConnectsStructuralMember(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsStructuralMember::IfcRelConnectsStructuralMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralMember* v5_RelatingStructuralMember, ::Ifc4x3_add2::IfcStructuralConnection* v6_RelatedStructuralConnection, ::Ifc4x3_add2::IfcBoundaryCondition* v7_AppliedCondition, ::Ifc4x3_add2::IfcStructuralConnectionCondition* v8_AdditionalConditions, boost::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D* v10_ConditionCoordinateSystem) : IfcRelConnects(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingStructuralMember ? v5_RelatingStructuralMember->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedStructuralConnection ? v6_RelatedStructuralConnection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_AppliedCondition ? v7_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AdditionalConditions ? v8_AdditionalConditions->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, v10_ConditionCoordinateSystem ? v10_ConditionCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelConnectsStructuralMember::IfcRelConnectsStructuralMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralMember* v5_RelatingStructuralMember, ::Ifc4x3_add2::IfcStructuralConnection* v6_RelatedStructuralConnection, ::Ifc4x3_add2::IfcBoundaryCondition* v7_AppliedCondition, ::Ifc4x3_add2::IfcStructuralConnectionCondition* v8_AdditionalConditions, boost::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D* v10_ConditionCoordinateSystem) : IfcRelConnects(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingStructuralMember ? v5_RelatingStructuralMember->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedStructuralConnection ? v6_RelatedStructuralConnection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_AppliedCondition ? v7_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AdditionalConditions ? v8_AdditionalConditions->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, v10_ConditionCoordinateSystem ? v10_ConditionCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelConnectsWithEccentricity ::Ifc4x3_add2::IfcConnectionGeometry* Ifc4x3_add2::IfcRelConnectsWithEccentricity::ConnectionConstraint() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(10)))->as<::Ifc4x3_add2::IfcConnectionGeometry>(true); } @@ -14858,7 +14858,7 @@ void Ifc4x3_add2::IfcRelConnectsWithEccentricity::setConnectionConstraint(::Ifc4 const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsWithEccentricity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[924]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[924]); } Ifc4x3_add2::IfcRelConnectsWithEccentricity::IfcRelConnectsWithEccentricity(IfcEntityInstanceData&& e) : IfcRelConnectsStructuralMember(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsWithEccentricity::IfcRelConnectsWithEccentricity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralMember* v5_RelatingStructuralMember, ::Ifc4x3_add2::IfcStructuralConnection* v6_RelatedStructuralConnection, ::Ifc4x3_add2::IfcBoundaryCondition* v7_AppliedCondition, ::Ifc4x3_add2::IfcStructuralConnectionCondition* v8_AdditionalConditions, boost::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D* v10_ConditionCoordinateSystem, ::Ifc4x3_add2::IfcConnectionGeometry* v11_ConnectionConstraint) : IfcRelConnectsStructuralMember(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingStructuralMember ? v5_RelatingStructuralMember->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedStructuralConnection ? v6_RelatedStructuralConnection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_AppliedCondition ? v7_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AdditionalConditions ? v8_AdditionalConditions->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, v10_ConditionCoordinateSystem ? v10_ConditionCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_ConnectionConstraint ? v11_ConnectionConstraint->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelConnectsWithEccentricity::IfcRelConnectsWithEccentricity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralMember* v5_RelatingStructuralMember, ::Ifc4x3_add2::IfcStructuralConnection* v6_RelatedStructuralConnection, ::Ifc4x3_add2::IfcBoundaryCondition* v7_AppliedCondition, ::Ifc4x3_add2::IfcStructuralConnectionCondition* v8_AdditionalConditions, boost::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D* v10_ConditionCoordinateSystem, ::Ifc4x3_add2::IfcConnectionGeometry* v11_ConnectionConstraint) : IfcRelConnectsStructuralMember(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingStructuralMember ? v5_RelatingStructuralMember->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedStructuralConnection ? v6_RelatedStructuralConnection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_AppliedCondition ? v7_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AdditionalConditions ? v8_AdditionalConditions->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, v10_ConditionCoordinateSystem ? v10_ConditionCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_ConnectionConstraint ? v11_ConnectionConstraint->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelConnectsWithRealizingElements aggregate_of< ::Ifc4x3_add2::IfcElement >::ptr Ifc4x3_add2::IfcRelConnectsWithRealizingElements::RealizingElements() const { aggregate_of_instance::ptr es = data_.get_attribute_value(7); return es->as< ::Ifc4x3_add2::IfcElement >(); } @@ -14870,7 +14870,7 @@ void Ifc4x3_add2::IfcRelConnectsWithRealizingElements::setConnectionType(boost:: const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsWithRealizingElements::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[925]); } const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[925]); } Ifc4x3_add2::IfcRelConnectsWithRealizingElements::IfcRelConnectsWithRealizingElements(IfcEntityInstanceData&& e) : IfcRelConnectsElements(std::move(e)) { } -Ifc4x3_add2::IfcRelConnectsWithRealizingElements::IfcRelConnectsWithRealizingElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry* v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement* v6_RelatingElement, ::Ifc4x3_add2::IfcElement* v7_RelatedElement, aggregate_of< ::Ifc4x3_add2::IfcElement >::ptr v8_RealizingElements, boost::optional< std::string > v9_ConnectionType) : IfcRelConnectsElements(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ConnectionGeometry ? v5_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatingElement ? v6_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RelatedElement ? v7_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_RealizingElements)->generalize()); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } +Ifc4x3_add2::IfcRelConnectsWithRealizingElements::IfcRelConnectsWithRealizingElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry* v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement* v6_RelatingElement, ::Ifc4x3_add2::IfcElement* v7_RelatedElement, aggregate_of< ::Ifc4x3_add2::IfcElement >::ptr v8_RealizingElements, boost::optional< std::string > v9_ConnectionType) : IfcRelConnectsElements(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_ConnectionGeometry ? v5_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatingElement ? v6_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_RelatedElement ? v7_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_RealizingElements)->generalize()); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); }; populate_derived(); } // Function implementations for IfcRelContainedInSpatialStructure aggregate_of< ::Ifc4x3_add2::IfcProduct >::ptr Ifc4x3_add2::IfcRelContainedInSpatialStructure::RelatedElements() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcProduct >(); } @@ -14882,7 +14882,7 @@ void Ifc4x3_add2::IfcRelContainedInSpatialStructure::setRelatingStructure(::Ifc4 const IfcParse::entity& Ifc4x3_add2::IfcRelContainedInSpatialStructure::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[926]); } const IfcParse::entity& Ifc4x3_add2::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[926]); } Ifc4x3_add2::IfcRelContainedInSpatialStructure::IfcRelContainedInSpatialStructure(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelContainedInSpatialStructure::IfcRelContainedInSpatialStructure(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcProduct >::ptr v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement* v6_RelatingStructure) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedElements)->generalize());set_attribute_value(5, v6_RelatingStructure ? v6_RelatingStructure->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelContainedInSpatialStructure::IfcRelContainedInSpatialStructure(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcProduct >::ptr v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement* v6_RelatingStructure) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedElements)->generalize());set_attribute_value(5, v6_RelatingStructure ? v6_RelatingStructure->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelCoversBldgElements ::Ifc4x3_add2::IfcElement* Ifc4x3_add2::IfcRelCoversBldgElements::RelatingBuildingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcElement>(true); } @@ -14894,7 +14894,7 @@ void Ifc4x3_add2::IfcRelCoversBldgElements::setRelatedCoverings(aggregate_of< :: const IfcParse::entity& Ifc4x3_add2::IfcRelCoversBldgElements::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[927]); } const IfcParse::entity& Ifc4x3_add2::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[927]); } Ifc4x3_add2::IfcRelCoversBldgElements::IfcRelCoversBldgElements(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelCoversBldgElements::IfcRelCoversBldgElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingBuildingElement, aggregate_of< ::Ifc4x3_add2::IfcCovering >::ptr v6_RelatedCoverings) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingBuildingElement ? v5_RelatingBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedCoverings)->generalize()); } +Ifc4x3_add2::IfcRelCoversBldgElements::IfcRelCoversBldgElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingBuildingElement, aggregate_of< ::Ifc4x3_add2::IfcCovering >::ptr v6_RelatedCoverings) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingBuildingElement ? v5_RelatingBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedCoverings)->generalize());; populate_derived(); } // Function implementations for IfcRelCoversSpaces ::Ifc4x3_add2::IfcSpace* Ifc4x3_add2::IfcRelCoversSpaces::RelatingSpace() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcSpace>(true); } @@ -14906,7 +14906,7 @@ void Ifc4x3_add2::IfcRelCoversSpaces::setRelatedCoverings(aggregate_of< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcRelCoversSpaces::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[928]); } const IfcParse::entity& Ifc4x3_add2::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[928]); } Ifc4x3_add2::IfcRelCoversSpaces::IfcRelCoversSpaces(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelCoversSpaces::IfcRelCoversSpaces(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpace* v5_RelatingSpace, aggregate_of< ::Ifc4x3_add2::IfcCovering >::ptr v6_RelatedCoverings) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedCoverings)->generalize()); } +Ifc4x3_add2::IfcRelCoversSpaces::IfcRelCoversSpaces(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpace* v5_RelatingSpace, aggregate_of< ::Ifc4x3_add2::IfcCovering >::ptr v6_RelatedCoverings) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedCoverings)->generalize());; populate_derived(); } // Function implementations for IfcRelDeclares ::Ifc4x3_add2::IfcContext* Ifc4x3_add2::IfcRelDeclares::RelatingContext() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcContext>(true); } @@ -14918,7 +14918,7 @@ void Ifc4x3_add2::IfcRelDeclares::setRelatedDefinitions(aggregate_of< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcRelDeclares::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[929]); } const IfcParse::entity& Ifc4x3_add2::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[929]); } Ifc4x3_add2::IfcRelDeclares::IfcRelDeclares(IfcEntityInstanceData&& e) : IfcRelationship(std::move(e)) { } -Ifc4x3_add2::IfcRelDeclares::IfcRelDeclares(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcContext* v5_RelatingContext, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v6_RelatedDefinitions) : IfcRelationship(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingContext ? v5_RelatingContext->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedDefinitions)->generalize()); } +Ifc4x3_add2::IfcRelDeclares::IfcRelDeclares(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcContext* v5_RelatingContext, aggregate_of< ::Ifc4x3_add2::IfcDefinitionSelect >::ptr v6_RelatedDefinitions) : IfcRelationship(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingContext ? v5_RelatingContext->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedDefinitions)->generalize());; populate_derived(); } // Function implementations for IfcRelDecomposes @@ -14926,7 +14926,7 @@ Ifc4x3_add2::IfcRelDeclares::IfcRelDeclares(std::string v1_GlobalId, ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcRelDecomposes::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[930]); } const IfcParse::entity& Ifc4x3_add2::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[930]); } Ifc4x3_add2::IfcRelDecomposes::IfcRelDecomposes(IfcEntityInstanceData&& e) : IfcRelationship(std::move(e)) { } -Ifc4x3_add2::IfcRelDecomposes::IfcRelDecomposes(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRelationship(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcRelDecomposes::IfcRelDecomposes(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRelationship(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcRelDefines @@ -14934,7 +14934,7 @@ Ifc4x3_add2::IfcRelDecomposes::IfcRelDecomposes(std::string v1_GlobalId, ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcRelDefines::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[931]); } const IfcParse::entity& Ifc4x3_add2::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[931]); } Ifc4x3_add2::IfcRelDefines::IfcRelDefines(IfcEntityInstanceData&& e) : IfcRelationship(std::move(e)) { } -Ifc4x3_add2::IfcRelDefines::IfcRelDefines(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRelationship(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcRelDefines::IfcRelDefines(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRelationship(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcRelDefinesByObject aggregate_of< ::Ifc4x3_add2::IfcObject >::ptr Ifc4x3_add2::IfcRelDefinesByObject::RelatedObjects() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcObject >(); } @@ -14946,7 +14946,7 @@ void Ifc4x3_add2::IfcRelDefinesByObject::setRelatingObject(::Ifc4x3_add2::IfcObj const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByObject::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[932]); } const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[932]); } Ifc4x3_add2::IfcRelDefinesByObject::IfcRelDefinesByObject(IfcEntityInstanceData&& e) : IfcRelDefines(std::move(e)) { } -Ifc4x3_add2::IfcRelDefinesByObject::IfcRelDefinesByObject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObject >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcObject* v6_RelatingObject) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingObject ? v6_RelatingObject->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelDefinesByObject::IfcRelDefinesByObject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObject >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcObject* v6_RelatingObject) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingObject ? v6_RelatingObject->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelDefinesByProperties aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr Ifc4x3_add2::IfcRelDefinesByProperties::RelatedObjects() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcObjectDefinition >(); } @@ -14958,7 +14958,7 @@ void Ifc4x3_add2::IfcRelDefinesByProperties::setRelatingPropertyDefinition(::Ifc const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[933]); } const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[933]); } Ifc4x3_add2::IfcRelDefinesByProperties::IfcRelDefinesByProperties(IfcEntityInstanceData&& e) : IfcRelDefines(std::move(e)) { } -Ifc4x3_add2::IfcRelDefinesByProperties::IfcRelDefinesByProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcPropertySetDefinitionSelect* v6_RelatingPropertyDefinition) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingPropertyDefinition ? v6_RelatingPropertyDefinition->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelDefinesByProperties::IfcRelDefinesByProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcPropertySetDefinitionSelect* v6_RelatingPropertyDefinition) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingPropertyDefinition ? v6_RelatingPropertyDefinition->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelDefinesByTemplate aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr Ifc4x3_add2::IfcRelDefinesByTemplate::RelatedPropertySets() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcPropertySetDefinition >(); } @@ -14970,7 +14970,7 @@ void Ifc4x3_add2::IfcRelDefinesByTemplate::setRelatingTemplate(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByTemplate::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[934]); } const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[934]); } Ifc4x3_add2::IfcRelDefinesByTemplate::IfcRelDefinesByTemplate(IfcEntityInstanceData&& e) : IfcRelDefines(std::move(e)) { } -Ifc4x3_add2::IfcRelDefinesByTemplate::IfcRelDefinesByTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr v5_RelatedPropertySets, ::Ifc4x3_add2::IfcPropertySetTemplate* v6_RelatingTemplate) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedPropertySets)->generalize());set_attribute_value(5, v6_RelatingTemplate ? v6_RelatingTemplate->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelDefinesByTemplate::IfcRelDefinesByTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr v5_RelatedPropertySets, ::Ifc4x3_add2::IfcPropertySetTemplate* v6_RelatingTemplate) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedPropertySets)->generalize());set_attribute_value(5, v6_RelatingTemplate ? v6_RelatingTemplate->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelDefinesByType aggregate_of< ::Ifc4x3_add2::IfcObject >::ptr Ifc4x3_add2::IfcRelDefinesByType::RelatedObjects() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcObject >(); } @@ -14982,7 +14982,7 @@ void Ifc4x3_add2::IfcRelDefinesByType::setRelatingType(::Ifc4x3_add2::IfcTypeObj const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[935]); } const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[935]); } Ifc4x3_add2::IfcRelDefinesByType::IfcRelDefinesByType(IfcEntityInstanceData&& e) : IfcRelDefines(std::move(e)) { } -Ifc4x3_add2::IfcRelDefinesByType::IfcRelDefinesByType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObject >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcTypeObject* v6_RelatingType) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingType ? v6_RelatingType->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelDefinesByType::IfcRelDefinesByType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcObject >::ptr v5_RelatedObjects, ::Ifc4x3_add2::IfcTypeObject* v6_RelatingType) : IfcRelDefines(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedObjects)->generalize());set_attribute_value(5, v6_RelatingType ? v6_RelatingType->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelFillsElement ::Ifc4x3_add2::IfcOpeningElement* Ifc4x3_add2::IfcRelFillsElement::RelatingOpeningElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcOpeningElement>(true); } @@ -14994,7 +14994,7 @@ void Ifc4x3_add2::IfcRelFillsElement::setRelatedBuildingElement(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcRelFillsElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[936]); } const IfcParse::entity& Ifc4x3_add2::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[936]); } Ifc4x3_add2::IfcRelFillsElement::IfcRelFillsElement(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelFillsElement::IfcRelFillsElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcOpeningElement* v5_RelatingOpeningElement, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingOpeningElement ? v5_RelatingOpeningElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelFillsElement::IfcRelFillsElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcOpeningElement* v5_RelatingOpeningElement, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingOpeningElement ? v5_RelatingOpeningElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelFlowControlElements aggregate_of< ::Ifc4x3_add2::IfcDistributionControlElement >::ptr Ifc4x3_add2::IfcRelFlowControlElements::RelatedControlElements() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcDistributionControlElement >(); } @@ -15006,7 +15006,7 @@ void Ifc4x3_add2::IfcRelFlowControlElements::setRelatingFlowElement(::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcRelFlowControlElements::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[937]); } const IfcParse::entity& Ifc4x3_add2::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[937]); } Ifc4x3_add2::IfcRelFlowControlElements::IfcRelFlowControlElements(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelFlowControlElements::IfcRelFlowControlElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDistributionControlElement >::ptr v5_RelatedControlElements, ::Ifc4x3_add2::IfcDistributionFlowElement* v6_RelatingFlowElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedControlElements)->generalize());set_attribute_value(5, v6_RelatingFlowElement ? v6_RelatingFlowElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelFlowControlElements::IfcRelFlowControlElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcDistributionControlElement >::ptr v5_RelatedControlElements, ::Ifc4x3_add2::IfcDistributionFlowElement* v6_RelatingFlowElement) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedControlElements)->generalize());set_attribute_value(5, v6_RelatingFlowElement ? v6_RelatingFlowElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelInterferesElements ::Ifc4x3_add2::IfcInterferenceSelect* Ifc4x3_add2::IfcRelInterferesElements::RelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcInterferenceSelect>(true); } @@ -15026,7 +15026,7 @@ void Ifc4x3_add2::IfcRelInterferesElements::setInterferenceSpace(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcRelInterferesElements::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[938]); } const IfcParse::entity& Ifc4x3_add2::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[938]); } Ifc4x3_add2::IfcRelInterferesElements::IfcRelInterferesElements(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelInterferesElements::IfcRelInterferesElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcInterferenceSelect* v5_RelatingElement, ::Ifc4x3_add2::IfcInterferenceSelect* v6_RelatedElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_InterferenceGeometry, boost::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_add2::IfcSpatialZone* v10_InterferenceSpace) : IfcRelConnects(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedElement ? v6_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_InterferenceGeometry ? v7_InterferenceGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder));set_attribute_value(9, v10_InterferenceSpace ? v10_InterferenceSpace->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelInterferesElements::IfcRelInterferesElements(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcInterferenceSelect* v5_RelatingElement, ::Ifc4x3_add2::IfcInterferenceSelect* v6_RelatedElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_InterferenceGeometry, boost::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_add2::IfcSpatialZone* v10_InterferenceSpace) : IfcRelConnects(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedElement ? v6_RelatedElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_InterferenceGeometry ? v7_InterferenceGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder));set_attribute_value(9, v10_InterferenceSpace ? v10_InterferenceSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelNests ::Ifc4x3_add2::IfcObjectDefinition* Ifc4x3_add2::IfcRelNests::RelatingObject() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcObjectDefinition>(true); } @@ -15038,7 +15038,7 @@ void Ifc4x3_add2::IfcRelNests::setRelatedObjects(aggregate_of< ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcRelNests::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[939]); } const IfcParse::entity& Ifc4x3_add2::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[939]); } Ifc4x3_add2::IfcRelNests::IfcRelNests(IfcEntityInstanceData&& e) : IfcRelDecomposes(std::move(e)) { } -Ifc4x3_add2::IfcRelNests::IfcRelNests(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition* v5_RelatingObject, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v6_RelatedObjects) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingObject ? v5_RelatingObject->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedObjects)->generalize()); } +Ifc4x3_add2::IfcRelNests::IfcRelNests(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition* v5_RelatingObject, aggregate_of< ::Ifc4x3_add2::IfcObjectDefinition >::ptr v6_RelatedObjects) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingObject ? v5_RelatingObject->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedObjects)->generalize());; populate_derived(); } // Function implementations for IfcRelPositions ::Ifc4x3_add2::IfcPositioningElement* Ifc4x3_add2::IfcRelPositions::RelatingPositioningElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcPositioningElement>(true); } @@ -15050,7 +15050,7 @@ void Ifc4x3_add2::IfcRelPositions::setRelatedProducts(aggregate_of< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcRelPositions::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[940]); } const IfcParse::entity& Ifc4x3_add2::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[940]); } Ifc4x3_add2::IfcRelPositions::IfcRelPositions(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelPositions::IfcRelPositions(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPositioningElement* v5_RelatingPositioningElement, aggregate_of< ::Ifc4x3_add2::IfcProduct >::ptr v6_RelatedProducts) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingPositioningElement ? v5_RelatingPositioningElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedProducts)->generalize()); } +Ifc4x3_add2::IfcRelPositions::IfcRelPositions(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPositioningElement* v5_RelatingPositioningElement, aggregate_of< ::Ifc4x3_add2::IfcProduct >::ptr v6_RelatedProducts) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingPositioningElement ? v5_RelatingPositioningElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedProducts)->generalize());; populate_derived(); } // Function implementations for IfcRelProjectsElement ::Ifc4x3_add2::IfcElement* Ifc4x3_add2::IfcRelProjectsElement::RelatingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcElement>(true); } @@ -15062,7 +15062,7 @@ void Ifc4x3_add2::IfcRelProjectsElement::setRelatedFeatureElement(::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcRelProjectsElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[941]); } const IfcParse::entity& Ifc4x3_add2::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[941]); } Ifc4x3_add2::IfcRelProjectsElement::IfcRelProjectsElement(IfcEntityInstanceData&& e) : IfcRelDecomposes(std::move(e)) { } -Ifc4x3_add2::IfcRelProjectsElement::IfcRelProjectsElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingElement, ::Ifc4x3_add2::IfcFeatureElementAddition* v6_RelatedFeatureElement) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedFeatureElement ? v6_RelatedFeatureElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelProjectsElement::IfcRelProjectsElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingElement, ::Ifc4x3_add2::IfcFeatureElementAddition* v6_RelatedFeatureElement) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingElement ? v5_RelatingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedFeatureElement ? v6_RelatedFeatureElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelReferencedInSpatialStructure aggregate_of< ::Ifc4x3_add2::IfcSpatialReferenceSelect >::ptr Ifc4x3_add2::IfcRelReferencedInSpatialStructure::RelatedElements() const { aggregate_of_instance::ptr es = data_.get_attribute_value(4); return es->as< ::Ifc4x3_add2::IfcSpatialReferenceSelect >(); } @@ -15074,7 +15074,7 @@ void Ifc4x3_add2::IfcRelReferencedInSpatialStructure::setRelatingStructure(::Ifc const IfcParse::entity& Ifc4x3_add2::IfcRelReferencedInSpatialStructure::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[942]); } const IfcParse::entity& Ifc4x3_add2::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[942]); } Ifc4x3_add2::IfcRelReferencedInSpatialStructure::IfcRelReferencedInSpatialStructure(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelReferencedInSpatialStructure::IfcRelReferencedInSpatialStructure(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcSpatialReferenceSelect >::ptr v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement* v6_RelatingStructure) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedElements)->generalize());set_attribute_value(5, v6_RelatingStructure ? v6_RelatingStructure->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelReferencedInSpatialStructure::IfcRelReferencedInSpatialStructure(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, aggregate_of< ::Ifc4x3_add2::IfcSpatialReferenceSelect >::ptr v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement* v6_RelatingStructure) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedElements)->generalize());set_attribute_value(5, v6_RelatingStructure ? v6_RelatingStructure->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelSequence ::Ifc4x3_add2::IfcProcess* Ifc4x3_add2::IfcRelSequence::RelatingProcess() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcProcess>(true); } @@ -15092,7 +15092,7 @@ void Ifc4x3_add2::IfcRelSequence::setUserDefinedSequenceType(boost::optional< st const IfcParse::entity& Ifc4x3_add2::IfcRelSequence::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[943]); } const IfcParse::entity& Ifc4x3_add2::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[943]); } Ifc4x3_add2::IfcRelSequence::IfcRelSequence(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelSequence::IfcRelSequence(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcProcess* v5_RelatingProcess, ::Ifc4x3_add2::IfcProcess* v6_RelatedProcess, ::Ifc4x3_add2::IfcLagTime* v7_TimeLag, boost::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value > v8_SequenceType, boost::optional< std::string > v9_UserDefinedSequenceType) : IfcRelConnects(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingProcess ? v5_RelatingProcess->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedProcess ? v6_RelatedProcess->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_TimeLag ? v7_TimeLag->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +Ifc4x3_add2::IfcRelSequence::IfcRelSequence(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcProcess* v5_RelatingProcess, ::Ifc4x3_add2::IfcProcess* v6_RelatedProcess, ::Ifc4x3_add2::IfcLagTime* v7_TimeLag, boost::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value > v8_SequenceType, boost::optional< std::string > v9_UserDefinedSequenceType) : IfcRelConnects(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingProcess ? v5_RelatingProcess->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedProcess ? v6_RelatedProcess->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_TimeLag ? v7_TimeLag->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); }; populate_derived(); } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_add2::IfcSystem* Ifc4x3_add2::IfcRelServicesBuildings::RelatingSystem() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcSystem>(true); } @@ -15104,7 +15104,7 @@ void Ifc4x3_add2::IfcRelServicesBuildings::setRelatedBuildings(aggregate_of< ::I const IfcParse::entity& Ifc4x3_add2::IfcRelServicesBuildings::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[944]); } const IfcParse::entity& Ifc4x3_add2::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[944]); } Ifc4x3_add2::IfcRelServicesBuildings::IfcRelServicesBuildings(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelServicesBuildings::IfcRelServicesBuildings(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSystem* v5_RelatingSystem, aggregate_of< ::Ifc4x3_add2::IfcSpatialElement >::ptr v6_RelatedBuildings) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSystem ? v5_RelatingSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedBuildings)->generalize()); } +Ifc4x3_add2::IfcRelServicesBuildings::IfcRelServicesBuildings(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSystem* v5_RelatingSystem, aggregate_of< ::Ifc4x3_add2::IfcSpatialElement >::ptr v6_RelatedBuildings) : IfcRelConnects(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSystem ? v5_RelatingSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_RelatedBuildings)->generalize());; populate_derived(); } // Function implementations for IfcRelSpaceBoundary ::Ifc4x3_add2::IfcSpaceBoundarySelect* Ifc4x3_add2::IfcRelSpaceBoundary::RelatingSpace() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcSpaceBoundarySelect>(true); } @@ -15122,7 +15122,7 @@ void Ifc4x3_add2::IfcRelSpaceBoundary::setInternalOrExternalBoundary(::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[945]); } const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[945]); } Ifc4x3_add2::IfcRelSpaceBoundary::IfcRelSpaceBoundary(IfcEntityInstanceData&& e) : IfcRelConnects(std::move(e)) { } -Ifc4x3_add2::IfcRelSpaceBoundary::IfcRelSpaceBoundary(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpaceBoundarySelect* v5_RelatingSpace, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_ConnectionGeometry, ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) : IfcRelConnects(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_ConnectionGeometry ? v7_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +Ifc4x3_add2::IfcRelSpaceBoundary::IfcRelSpaceBoundary(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpaceBoundarySelect* v5_RelatingSpace, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_ConnectionGeometry, ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) : IfcRelConnects(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_ConnectionGeometry ? v7_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));; populate_derived(); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel* Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(data_.get_attribute_value(9).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(9)))->as<::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel>(true); } @@ -15133,7 +15133,7 @@ void Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::setParentBoundary(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[946]); } const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[946]); } Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::IfcRelSpaceBoundary1stLevel(IfcEntityInstanceData&& e) : IfcRelSpaceBoundary(std::move(e)) { } -Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::IfcRelSpaceBoundary1stLevel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpaceBoundarySelect* v5_RelatingSpace, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_ConnectionGeometry, ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel* v10_ParentBoundary) : IfcRelSpaceBoundary(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_ConnectionGeometry ? v7_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, v10_ParentBoundary ? v10_ParentBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::IfcRelSpaceBoundary1stLevel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpaceBoundarySelect* v5_RelatingSpace, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_ConnectionGeometry, ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel* v10_ParentBoundary) : IfcRelSpaceBoundary(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_ConnectionGeometry ? v7_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, v10_ParentBoundary ? v10_ParentBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel* Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(data_.get_attribute_value(10).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(10)))->as<::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel>(true); } @@ -15144,7 +15144,7 @@ void Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[947]); } const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[947]); } Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::IfcRelSpaceBoundary2ndLevel(IfcEntityInstanceData&& e) : IfcRelSpaceBoundary1stLevel(std::move(e)) { } -Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::IfcRelSpaceBoundary2ndLevel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpaceBoundarySelect* v5_RelatingSpace, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_ConnectionGeometry, ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel* v10_ParentBoundary, ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel* v11_CorrespondingBoundary) : IfcRelSpaceBoundary1stLevel(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_ConnectionGeometry ? v7_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, v10_ParentBoundary ? v10_ParentBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_CorrespondingBoundary ? v11_CorrespondingBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::IfcRelSpaceBoundary2ndLevel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpaceBoundarySelect* v5_RelatingSpace, ::Ifc4x3_add2::IfcElement* v6_RelatedBuildingElement, ::Ifc4x3_add2::IfcConnectionGeometry* v7_ConnectionGeometry, ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel* v10_ParentBoundary, ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel* v11_CorrespondingBoundary) : IfcRelSpaceBoundary1stLevel(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingSpace ? v5_RelatingSpace->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedBuildingElement ? v6_RelatedBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_ConnectionGeometry ? v7_ConnectionGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, v10_ParentBoundary ? v10_ParentBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(10, v11_CorrespondingBoundary ? v11_CorrespondingBoundary->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_add2::IfcElement* Ifc4x3_add2::IfcRelVoidsElement::RelatingBuildingElement() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcElement>(true); } @@ -15156,7 +15156,7 @@ void Ifc4x3_add2::IfcRelVoidsElement::setRelatedOpeningElement(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcRelVoidsElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[948]); } const IfcParse::entity& Ifc4x3_add2::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[948]); } Ifc4x3_add2::IfcRelVoidsElement::IfcRelVoidsElement(IfcEntityInstanceData&& e) : IfcRelDecomposes(std::move(e)) { } -Ifc4x3_add2::IfcRelVoidsElement::IfcRelVoidsElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingBuildingElement, ::Ifc4x3_add2::IfcFeatureElementSubtraction* v6_RelatedOpeningElement) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingBuildingElement ? v5_RelatingBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedOpeningElement ? v6_RelatedOpeningElement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRelVoidsElement::IfcRelVoidsElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement* v5_RelatingBuildingElement, ::Ifc4x3_add2::IfcFeatureElementSubtraction* v6_RelatedOpeningElement) : IfcRelDecomposes(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, v5_RelatingBuildingElement ? v5_RelatingBuildingElement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_RelatedOpeningElement ? v6_RelatedOpeningElement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRelationship @@ -15164,7 +15164,7 @@ Ifc4x3_add2::IfcRelVoidsElement::IfcRelVoidsElement(std::string v1_GlobalId, ::I const IfcParse::entity& Ifc4x3_add2::IfcRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[916]); } const IfcParse::entity& Ifc4x3_add2::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[916]); } Ifc4x3_add2::IfcRelationship::IfcRelationship(IfcEntityInstanceData&& e) : IfcRoot(std::move(e)) { } -Ifc4x3_add2::IfcRelationship::IfcRelationship(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRoot(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcRelationship::IfcRelationship(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcRoot(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcReparametrisedCompositeCurveSegment double Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::ParamLength() const { double v = data_.get_attribute_value(3); return v; } @@ -15174,7 +15174,7 @@ void Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::setParamLength(double const IfcParse::entity& Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[949]); } const IfcParse::entity& Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[949]); } Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::IfcReparametrisedCompositeCurveSegment(IfcEntityInstanceData&& e) : IfcCompositeCurveSegment(std::move(e)) { } -Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::IfcReparametrisedCompositeCurveSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve* v3_ParentCurve, double v4_ParamLength) : IfcCompositeCurveSegment(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, v3_ParentCurve ? v3_ParentCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_ParamLength)); } +Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::IfcReparametrisedCompositeCurveSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve* v3_ParentCurve, double v4_ParamLength) : IfcCompositeCurveSegment(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, v3_ParentCurve ? v3_ParentCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_ParamLength));; populate_derived(); } // Function implementations for IfcRepresentation ::Ifc4x3_add2::IfcRepresentationContext* Ifc4x3_add2::IfcRepresentation::ContextOfItems() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcRepresentationContext>(true); } @@ -15193,7 +15193,7 @@ void Ifc4x3_add2::IfcRepresentation::setItems(aggregate_of< ::Ifc4x3_add2::IfcRe const IfcParse::entity& Ifc4x3_add2::IfcRepresentation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[950]); } const IfcParse::entity& Ifc4x3_add2::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[950]); } Ifc4x3_add2::IfcRepresentation::IfcRepresentation(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcRepresentation::IfcRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize()); } +Ifc4x3_add2::IfcRepresentation::IfcRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize());; populate_derived(); } // Function implementations for IfcRepresentationContext boost::optional< std::string > Ifc4x3_add2::IfcRepresentationContext::ContextIdentifier() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -15206,7 +15206,7 @@ void Ifc4x3_add2::IfcRepresentationContext::setContextType(boost::optional< std: const IfcParse::entity& Ifc4x3_add2::IfcRepresentationContext::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[951]); } const IfcParse::entity& Ifc4x3_add2::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[951]); } Ifc4x3_add2::IfcRepresentationContext::IfcRepresentationContext(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcRepresentationContext::IfcRepresentationContext(boost::optional< std::string > v1_ContextIdentifier, boost::optional< std::string > v2_ContextType) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } +Ifc4x3_add2::IfcRepresentationContext::IfcRepresentationContext(boost::optional< std::string > v1_ContextIdentifier, boost::optional< std::string > v2_ContextType) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }; populate_derived(); } // Function implementations for IfcRepresentationItem @@ -15216,7 +15216,7 @@ Ifc4x3_add2::IfcRepresentationContext::IfcRepresentationContext(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcRepresentationItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[952]); } const IfcParse::entity& Ifc4x3_add2::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[952]); } Ifc4x3_add2::IfcRepresentationItem::IfcRepresentationItem(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcRepresentationItem::IfcRepresentationItem() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcRepresentationItem::IfcRepresentationItem() : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcRepresentationMap ::Ifc4x3_add2::IfcAxis2Placement* Ifc4x3_add2::IfcRepresentationMap::MappingOrigin() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcAxis2Placement>(true); } @@ -15230,7 +15230,7 @@ void Ifc4x3_add2::IfcRepresentationMap::setMappedRepresentation(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcRepresentationMap::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[953]); } const IfcParse::entity& Ifc4x3_add2::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[953]); } Ifc4x3_add2::IfcRepresentationMap::IfcRepresentationMap(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcRepresentationMap::IfcRepresentationMap(::Ifc4x3_add2::IfcAxis2Placement* v1_MappingOrigin, ::Ifc4x3_add2::IfcRepresentation* v2_MappedRepresentation) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_MappingOrigin ? v1_MappingOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_MappedRepresentation ? v2_MappedRepresentation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRepresentationMap::IfcRepresentationMap(::Ifc4x3_add2::IfcAxis2Placement* v1_MappingOrigin, ::Ifc4x3_add2::IfcRepresentation* v2_MappedRepresentation) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_MappingOrigin ? v1_MappingOrigin->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_MappedRepresentation ? v2_MappedRepresentation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcResource boost::optional< std::string > Ifc4x3_add2::IfcResource::Identification() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(5); return v; } @@ -15243,7 +15243,7 @@ void Ifc4x3_add2::IfcResource::setLongDescription(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[954]); } const IfcParse::entity& Ifc4x3_add2::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[954]); } Ifc4x3_add2::IfcResource::IfcResource(IfcEntityInstanceData&& e) : IfcObject(std::move(e)) { } -Ifc4x3_add2::IfcResource::IfcResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription) : IfcObject(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } } +Ifc4x3_add2::IfcResource::IfcResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription) : IfcObject(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }; populate_derived(); } // Function implementations for IfcResourceApprovalRelationship aggregate_of< ::Ifc4x3_add2::IfcResourceObjectSelect >::ptr Ifc4x3_add2::IfcResourceApprovalRelationship::RelatedResourceObjects() const { aggregate_of_instance::ptr es = data_.get_attribute_value(2); return es->as< ::Ifc4x3_add2::IfcResourceObjectSelect >(); } @@ -15255,7 +15255,7 @@ void Ifc4x3_add2::IfcResourceApprovalRelationship::setRelatingApproval(::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcResourceApprovalRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[955]); } const IfcParse::entity& Ifc4x3_add2::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[955]); } Ifc4x3_add2::IfcResourceApprovalRelationship::IfcResourceApprovalRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcResourceApprovalRelationship::IfcResourceApprovalRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcResourceObjectSelect >::ptr v3_RelatedResourceObjects, ::Ifc4x3_add2::IfcApproval* v4_RelatingApproval) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatedResourceObjects)->generalize());set_attribute_value(3, v4_RelatingApproval ? v4_RelatingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcResourceApprovalRelationship::IfcResourceApprovalRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, aggregate_of< ::Ifc4x3_add2::IfcResourceObjectSelect >::ptr v3_RelatedResourceObjects, ::Ifc4x3_add2::IfcApproval* v4_RelatingApproval) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatedResourceObjects)->generalize());set_attribute_value(3, v4_RelatingApproval ? v4_RelatingApproval->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcResourceConstraintRelationship ::Ifc4x3_add2::IfcConstraint* Ifc4x3_add2::IfcResourceConstraintRelationship::RelatingConstraint() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcConstraint>(true); } @@ -15267,7 +15267,7 @@ void Ifc4x3_add2::IfcResourceConstraintRelationship::setRelatedResourceObjects(a const IfcParse::entity& Ifc4x3_add2::IfcResourceConstraintRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[956]); } const IfcParse::entity& Ifc4x3_add2::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[956]); } Ifc4x3_add2::IfcResourceConstraintRelationship::IfcResourceConstraintRelationship(IfcEntityInstanceData&& e) : IfcResourceLevelRelationship(std::move(e)) { } -Ifc4x3_add2::IfcResourceConstraintRelationship::IfcResourceConstraintRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraint* v3_RelatingConstraint, aggregate_of< ::Ifc4x3_add2::IfcResourceObjectSelect >::ptr v4_RelatedResourceObjects) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingConstraint ? v3_RelatingConstraint->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedResourceObjects)->generalize()); } +Ifc4x3_add2::IfcResourceConstraintRelationship::IfcResourceConstraintRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraint* v3_RelatingConstraint, aggregate_of< ::Ifc4x3_add2::IfcResourceObjectSelect >::ptr v4_RelatedResourceObjects) : IfcResourceLevelRelationship(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, v3_RelatingConstraint ? v3_RelatingConstraint->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_RelatedResourceObjects)->generalize());; populate_derived(); } // Function implementations for IfcResourceLevelRelationship boost::optional< std::string > Ifc4x3_add2::IfcResourceLevelRelationship::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -15279,7 +15279,7 @@ void Ifc4x3_add2::IfcResourceLevelRelationship::setDescription(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcResourceLevelRelationship::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[957]); } const IfcParse::entity& Ifc4x3_add2::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[957]); } Ifc4x3_add2::IfcResourceLevelRelationship::IfcResourceLevelRelationship(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcResourceLevelRelationship::IfcResourceLevelRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } +Ifc4x3_add2::IfcResourceLevelRelationship::IfcResourceLevelRelationship(boost::optional< std::string > v1_Name, boost::optional< std::string > v2_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }; populate_derived(); } // Function implementations for IfcResourceTime boost::optional< std::string > Ifc4x3_add2::IfcResourceTime::ScheduleWork() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(3); return v; } @@ -15317,7 +15317,7 @@ void Ifc4x3_add2::IfcResourceTime::setCompletion(boost::optional< double > v) { const IfcParse::entity& Ifc4x3_add2::IfcResourceTime::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[960]); } const IfcParse::entity& Ifc4x3_add2::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[960]); } Ifc4x3_add2::IfcResourceTime::IfcResourceTime(IfcEntityInstanceData&& e) : IfcSchedulingTime(std::move(e)) { } -Ifc4x3_add2::IfcResourceTime::IfcResourceTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< std::string > v4_ScheduleWork, boost::optional< double > v5_ScheduleUsage, boost::optional< std::string > v6_ScheduleStart, boost::optional< std::string > v7_ScheduleFinish, boost::optional< std::string > v8_ScheduleContour, boost::optional< std::string > v9_LevelingDelay, boost::optional< bool > v10_IsOverAllocated, boost::optional< std::string > v11_StatusTime, boost::optional< std::string > v12_ActualWork, boost::optional< double > v13_ActualUsage, boost::optional< std::string > v14_ActualStart, boost::optional< std::string > v15_ActualFinish, boost::optional< std::string > v16_RemainingWork, boost::optional< double > v17_RemainingUsage, boost::optional< double > v18_Completion) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(18))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_ScheduleWork) {set_attribute_value(3, (*v4_ScheduleWork)); } if (v5_ScheduleUsage) {set_attribute_value(4, (*v5_ScheduleUsage)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_ScheduleContour) {set_attribute_value(7, (*v8_ScheduleContour)); } if (v9_LevelingDelay) {set_attribute_value(8, (*v9_LevelingDelay)); } if (v10_IsOverAllocated) {set_attribute_value(9, (*v10_IsOverAllocated)); } if (v11_StatusTime) {set_attribute_value(10, (*v11_StatusTime)); } if (v12_ActualWork) {set_attribute_value(11, (*v12_ActualWork)); } if (v13_ActualUsage) {set_attribute_value(12, (*v13_ActualUsage)); } if (v14_ActualStart) {set_attribute_value(13, (*v14_ActualStart)); } if (v15_ActualFinish) {set_attribute_value(14, (*v15_ActualFinish)); } if (v16_RemainingWork) {set_attribute_value(15, (*v16_RemainingWork)); } if (v17_RemainingUsage) {set_attribute_value(16, (*v17_RemainingUsage)); } if (v18_Completion) {set_attribute_value(17, (*v18_Completion)); } } +Ifc4x3_add2::IfcResourceTime::IfcResourceTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< std::string > v4_ScheduleWork, boost::optional< double > v5_ScheduleUsage, boost::optional< std::string > v6_ScheduleStart, boost::optional< std::string > v7_ScheduleFinish, boost::optional< std::string > v8_ScheduleContour, boost::optional< std::string > v9_LevelingDelay, boost::optional< bool > v10_IsOverAllocated, boost::optional< std::string > v11_StatusTime, boost::optional< std::string > v12_ActualWork, boost::optional< double > v13_ActualUsage, boost::optional< std::string > v14_ActualStart, boost::optional< std::string > v15_ActualFinish, boost::optional< std::string > v16_RemainingWork, boost::optional< double > v17_RemainingUsage, boost::optional< double > v18_Completion) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(18))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_ScheduleWork) {set_attribute_value(3, (*v4_ScheduleWork)); } if (v5_ScheduleUsage) {set_attribute_value(4, (*v5_ScheduleUsage)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_ScheduleContour) {set_attribute_value(7, (*v8_ScheduleContour)); } if (v9_LevelingDelay) {set_attribute_value(8, (*v9_LevelingDelay)); } if (v10_IsOverAllocated) {set_attribute_value(9, (*v10_IsOverAllocated)); } if (v11_StatusTime) {set_attribute_value(10, (*v11_StatusTime)); } if (v12_ActualWork) {set_attribute_value(11, (*v12_ActualWork)); } if (v13_ActualUsage) {set_attribute_value(12, (*v13_ActualUsage)); } if (v14_ActualStart) {set_attribute_value(13, (*v14_ActualStart)); } if (v15_ActualFinish) {set_attribute_value(14, (*v15_ActualFinish)); } if (v16_RemainingWork) {set_attribute_value(15, (*v16_RemainingWork)); } if (v17_RemainingUsage) {set_attribute_value(16, (*v17_RemainingUsage)); } if (v18_Completion) {set_attribute_value(17, (*v18_Completion)); }; populate_derived(); } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_add2::IfcAxis1Placement* Ifc4x3_add2::IfcRevolvedAreaSolid::Axis() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcAxis1Placement>(true); } @@ -15329,7 +15329,7 @@ void Ifc4x3_add2::IfcRevolvedAreaSolid::setAngle(double v) { set_attribute_value const IfcParse::entity& Ifc4x3_add2::IfcRevolvedAreaSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[961]); } const IfcParse::entity& Ifc4x3_add2::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[961]); } Ifc4x3_add2::IfcRevolvedAreaSolid::IfcRevolvedAreaSolid(IfcEntityInstanceData&& e) : IfcSweptAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcRevolvedAreaSolid::IfcRevolvedAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcAxis1Placement* v3_Axis, double v4_Angle) : IfcSweptAreaSolid(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Axis ? v3_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Angle)); } +Ifc4x3_add2::IfcRevolvedAreaSolid::IfcRevolvedAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcAxis1Placement* v3_Axis, double v4_Angle) : IfcSweptAreaSolid(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Axis ? v3_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Angle));; populate_derived(); } // Function implementations for IfcRevolvedAreaSolidTapered ::Ifc4x3_add2::IfcProfileDef* Ifc4x3_add2::IfcRevolvedAreaSolidTapered::EndSweptArea() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(4)))->as<::Ifc4x3_add2::IfcProfileDef>(true); } @@ -15339,7 +15339,7 @@ void Ifc4x3_add2::IfcRevolvedAreaSolidTapered::setEndSweptArea(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcRevolvedAreaSolidTapered::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[962]); } const IfcParse::entity& Ifc4x3_add2::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[962]); } Ifc4x3_add2::IfcRevolvedAreaSolidTapered::IfcRevolvedAreaSolidTapered(IfcEntityInstanceData&& e) : IfcRevolvedAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcRevolvedAreaSolidTapered::IfcRevolvedAreaSolidTapered(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcAxis1Placement* v3_Axis, double v4_Angle, ::Ifc4x3_add2::IfcProfileDef* v5_EndSweptArea) : IfcRevolvedAreaSolid(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Axis ? v3_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Angle));set_attribute_value(4, v5_EndSweptArea ? v5_EndSweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcRevolvedAreaSolidTapered::IfcRevolvedAreaSolidTapered(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcAxis1Placement* v3_Axis, double v4_Angle, ::Ifc4x3_add2::IfcProfileDef* v5_EndSweptArea) : IfcRevolvedAreaSolid(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Axis ? v3_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Angle));set_attribute_value(4, v5_EndSweptArea ? v5_EndSweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcRightCircularCone double Ifc4x3_add2::IfcRightCircularCone::Height() const { double v = data_.get_attribute_value(1); return v; } @@ -15351,7 +15351,7 @@ void Ifc4x3_add2::IfcRightCircularCone::setBottomRadius(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcRightCircularCone::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[963]); } const IfcParse::entity& Ifc4x3_add2::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[963]); } Ifc4x3_add2::IfcRightCircularCone::IfcRightCircularCone(IfcEntityInstanceData&& e) : IfcCsgPrimitive3D(std::move(e)) { } -Ifc4x3_add2::IfcRightCircularCone::IfcRightCircularCone(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Height, double v3_BottomRadius) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } +Ifc4x3_add2::IfcRightCircularCone::IfcRightCircularCone(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Height, double v3_BottomRadius) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius));; populate_derived(); } // Function implementations for IfcRightCircularCylinder double Ifc4x3_add2::IfcRightCircularCylinder::Height() const { double v = data_.get_attribute_value(1); return v; } @@ -15363,7 +15363,7 @@ void Ifc4x3_add2::IfcRightCircularCylinder::setRadius(double v) { set_attribute_ const IfcParse::entity& Ifc4x3_add2::IfcRightCircularCylinder::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[964]); } const IfcParse::entity& Ifc4x3_add2::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[964]); } Ifc4x3_add2::IfcRightCircularCylinder::IfcRightCircularCylinder(IfcEntityInstanceData&& e) : IfcCsgPrimitive3D(std::move(e)) { } -Ifc4x3_add2::IfcRightCircularCylinder::IfcRightCircularCylinder(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Height, double v3_Radius) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } +Ifc4x3_add2::IfcRightCircularCylinder::IfcRightCircularCylinder(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Height, double v3_Radius) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius));; populate_derived(); } // Function implementations for IfcRigidOperation ::Ifc4x3_add2::IfcMeasureValue* Ifc4x3_add2::IfcRigidOperation::FirstCoordinate() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcMeasureValue>(true); } @@ -15377,7 +15377,7 @@ void Ifc4x3_add2::IfcRigidOperation::setHeight(boost::optional< double > v) { if const IfcParse::entity& Ifc4x3_add2::IfcRigidOperation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[965]); } const IfcParse::entity& Ifc4x3_add2::IfcRigidOperation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[965]); } Ifc4x3_add2::IfcRigidOperation::IfcRigidOperation(IfcEntityInstanceData&& e) : IfcCoordinateOperation(std::move(e)) { } -Ifc4x3_add2::IfcRigidOperation::IfcRigidOperation(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS, ::Ifc4x3_add2::IfcMeasureValue* v3_FirstCoordinate, ::Ifc4x3_add2::IfcMeasureValue* v4_SecondCoordinate, boost::optional< double > v5_Height) : IfcCoordinateOperation(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_FirstCoordinate ? v3_FirstCoordinate->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_SecondCoordinate ? v4_SecondCoordinate->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Height) {set_attribute_value(4, (*v5_Height)); } } +Ifc4x3_add2::IfcRigidOperation::IfcRigidOperation(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect* v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_TargetCRS, ::Ifc4x3_add2::IfcMeasureValue* v3_FirstCoordinate, ::Ifc4x3_add2::IfcMeasureValue* v4_SecondCoordinate, boost::optional< double > v5_Height) : IfcCoordinateOperation(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_SourceCRS ? v1_SourceCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_TargetCRS ? v2_TargetCRS->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_FirstCoordinate ? v3_FirstCoordinate->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_SecondCoordinate ? v4_SecondCoordinate->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Height) {set_attribute_value(4, (*v5_Height)); }; populate_derived(); } // Function implementations for IfcRoad boost::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > Ifc4x3_add2::IfcRoad::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRoadTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15387,7 +15387,7 @@ void Ifc4x3_add2::IfcRoad::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcRoad::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[966]); } const IfcParse::entity& Ifc4x3_add2::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[966]); } Ifc4x3_add2::IfcRoad::IfcRoad(IfcEntityInstanceData&& e) : IfcFacility(std::move(e)) { } -Ifc4x3_add2::IfcRoad::IfcRoad(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcRoad::IfcRoad(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > v10_PredefinedType) : IfcFacility(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRoadPart boost::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > Ifc4x3_add2::IfcRoadPart::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRoadPartTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -15397,7 +15397,7 @@ void Ifc4x3_add2::IfcRoadPart::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcRoadPart::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[967]); } const IfcParse::entity& Ifc4x3_add2::IfcRoadPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[967]); } Ifc4x3_add2::IfcRoadPart::IfcRoadPart(IfcEntityInstanceData&& e) : IfcFacilityPart(std::move(e)) { } -Ifc4x3_add2::IfcRoadPart::IfcRoadPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcRoadPart::IfcRoadPart(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, boost::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > v11_PredefinedType) : IfcFacilityPart(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRoof boost::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > Ifc4x3_add2::IfcRoof::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcRoofTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15407,7 +15407,7 @@ void Ifc4x3_add2::IfcRoof::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcRoof::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[971]); } const IfcParse::entity& Ifc4x3_add2::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[971]); } Ifc4x3_add2::IfcRoof::IfcRoof(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcRoof::IfcRoof(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcRoof::IfcRoof(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcRoofType ::Ifc4x3_add2::IfcRoofTypeEnum::Value Ifc4x3_add2::IfcRoofType::PredefinedType() const { return ::Ifc4x3_add2::IfcRoofTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15417,7 +15417,7 @@ void Ifc4x3_add2::IfcRoofType::setPredefinedType(::Ifc4x3_add2::IfcRoofTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcRoofType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[972]); } const IfcParse::entity& Ifc4x3_add2::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[972]); } Ifc4x3_add2::IfcRoofType::IfcRoofType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcRoofType::IfcRoofType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRoofTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcRoofType::IfcRoofType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRoofTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcRoot std::string Ifc4x3_add2::IfcRoot::GlobalId() const { std::string v = data_.get_attribute_value(0); return v; } @@ -15433,7 +15433,7 @@ void Ifc4x3_add2::IfcRoot::setDescription(boost::optional< std::string > v) { if const IfcParse::entity& Ifc4x3_add2::IfcRoot::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[974]); } const IfcParse::entity& Ifc4x3_add2::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[974]); } Ifc4x3_add2::IfcRoot::IfcRoot(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcRoot::IfcRoot(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } +Ifc4x3_add2::IfcRoot::IfcRoot(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; populate_derived(); } // Function implementations for IfcRoundedRectangleProfileDef double Ifc4x3_add2::IfcRoundedRectangleProfileDef::RoundingRadius() const { double v = data_.get_attribute_value(5); return v; } @@ -15443,7 +15443,7 @@ void Ifc4x3_add2::IfcRoundedRectangleProfileDef::setRoundingRadius(double v) { s const IfcParse::entity& Ifc4x3_add2::IfcRoundedRectangleProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[979]); } const IfcParse::entity& Ifc4x3_add2::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[979]); } Ifc4x3_add2::IfcRoundedRectangleProfileDef::IfcRoundedRectangleProfileDef(IfcEntityInstanceData&& e) : IfcRectangleProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcRoundedRectangleProfileDef::IfcRoundedRectangleProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) : IfcRectangleProfileDef(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +Ifc4x3_add2::IfcRoundedRectangleProfileDef::IfcRoundedRectangleProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) : IfcRectangleProfileDef(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius));; populate_derived(); } // Function implementations for IfcSIUnit boost::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > Ifc4x3_add2::IfcSIUnit::Prefix() const { if(data_.get_attribute_value(2).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSIPrefix::FromString(data_.get_attribute_value(2)); } @@ -15455,7 +15455,7 @@ void Ifc4x3_add2::IfcSIUnit::setName(::Ifc4x3_add2::IfcSIUnitName::Value v) { se const IfcParse::entity& Ifc4x3_add2::IfcSIUnit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1025]); } const IfcParse::entity& Ifc4x3_add2::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1025]); } Ifc4x3_add2::IfcSIUnit::IfcSIUnit(IfcEntityInstanceData&& e) : IfcNamedUnit(std::move(e)) { } -Ifc4x3_add2::IfcSIUnit::IfcSIUnit(::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, boost::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add2::IfcSIUnitName::Value v4_Name) : IfcNamedUnit(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcSIUnitName::Class(),(size_t)v4_Name))); } +Ifc4x3_add2::IfcSIUnit::IfcSIUnit(::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, boost::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add2::IfcSIUnitName::Value v4_Name) : IfcNamedUnit(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcSIUnitName::Class(),(size_t)v4_Name)));; populate_derived(); } // Function implementations for IfcSanitaryTerminal boost::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_add2::IfcSanitaryTerminal::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15465,7 +15465,7 @@ void Ifc4x3_add2::IfcSanitaryTerminal::setPredefinedType(boost::optional< ::Ifc4 const IfcParse::entity& Ifc4x3_add2::IfcSanitaryTerminal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[980]); } const IfcParse::entity& Ifc4x3_add2::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[980]); } Ifc4x3_add2::IfcSanitaryTerminal::IfcSanitaryTerminal(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcSanitaryTerminal::IfcSanitaryTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSanitaryTerminal::IfcSanitaryTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_add2::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15475,7 +15475,7 @@ void Ifc4x3_add2::IfcSanitaryTerminalType::setPredefinedType(::Ifc4x3_add2::IfcS const IfcParse::entity& Ifc4x3_add2::IfcSanitaryTerminalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[981]); } const IfcParse::entity& Ifc4x3_add2::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[981]); } Ifc4x3_add2::IfcSanitaryTerminalType::IfcSanitaryTerminalType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcSanitaryTerminalType::IfcSanitaryTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSanitaryTerminalType::IfcSanitaryTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSchedulingTime boost::optional< std::string > Ifc4x3_add2::IfcSchedulingTime::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -15489,7 +15489,7 @@ void Ifc4x3_add2::IfcSchedulingTime::setUserDefinedDataOrigin(boost::optional< s const IfcParse::entity& Ifc4x3_add2::IfcSchedulingTime::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[983]); } const IfcParse::entity& Ifc4x3_add2::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[983]); } Ifc4x3_add2::IfcSchedulingTime::IfcSchedulingTime(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcSchedulingTime::IfcSchedulingTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +Ifc4x3_add2::IfcSchedulingTime::IfcSchedulingTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }; populate_derived(); } // Function implementations for IfcSeamCurve @@ -15497,7 +15497,7 @@ Ifc4x3_add2::IfcSchedulingTime::IfcSchedulingTime(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcSeamCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[984]); } const IfcParse::entity& Ifc4x3_add2::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[984]); } Ifc4x3_add2::IfcSeamCurve::IfcSeamCurve(IfcEntityInstanceData&& e) : IfcSurfaceCurve(std::move(e)) { } -Ifc4x3_add2::IfcSeamCurve::IfcSeamCurve(::Ifc4x3_add2::IfcCurve* v1_Curve3D, aggregate_of< ::Ifc4x3_add2::IfcPcurve >::ptr v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) : IfcSurfaceCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Curve3D ? v1_Curve3D->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AssociatedGeometry)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +Ifc4x3_add2::IfcSeamCurve::IfcSeamCurve(::Ifc4x3_add2::IfcCurve* v1_Curve3D, aggregate_of< ::Ifc4x3_add2::IfcPcurve >::ptr v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) : IfcSurfaceCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Curve3D ? v1_Curve3D->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AssociatedGeometry)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation)));; populate_derived(); } // Function implementations for IfcSecondOrderPolynomialSpiral double Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = data_.get_attribute_value(1); return v; } @@ -15511,7 +15511,7 @@ void Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::setConstantTerm(boost::optiona const IfcParse::entity& Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[985]); } const IfcParse::entity& Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[985]); } Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::IfcSecondOrderPolynomialSpiral(IfcEntityInstanceData&& e) : IfcSpiral(std::move(e)) { } -Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::IfcSecondOrderPolynomialSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_QuadraticTerm, boost::optional< double > v3_LinearTerm, boost::optional< double > v4_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } +Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::IfcSecondOrderPolynomialSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_QuadraticTerm, boost::optional< double > v3_LinearTerm, boost::optional< double > v4_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); }; populate_derived(); } // Function implementations for IfcSectionProperties ::Ifc4x3_add2::IfcSectionTypeEnum::Value Ifc4x3_add2::IfcSectionProperties::SectionType() const { return ::Ifc4x3_add2::IfcSectionTypeEnum::FromString(data_.get_attribute_value(0)); } @@ -15525,7 +15525,7 @@ void Ifc4x3_add2::IfcSectionProperties::setEndProfile(::Ifc4x3_add2::IfcProfileD const IfcParse::entity& Ifc4x3_add2::IfcSectionProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[992]); } const IfcParse::entity& Ifc4x3_add2::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[992]); } Ifc4x3_add2::IfcSectionProperties::IfcSectionProperties(IfcEntityInstanceData&& e) : IfcPreDefinedProperties(std::move(e)) { } -Ifc4x3_add2::IfcSectionProperties::IfcSectionProperties(::Ifc4x3_add2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add2::IfcProfileDef* v2_StartProfile, ::Ifc4x3_add2::IfcProfileDef* v3_EndProfile) : IfcPreDefinedProperties(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, v2_StartProfile ? v2_StartProfile->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_EndProfile ? v3_EndProfile->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSectionProperties::IfcSectionProperties(::Ifc4x3_add2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add2::IfcProfileDef* v2_StartProfile, ::Ifc4x3_add2::IfcProfileDef* v3_EndProfile) : IfcPreDefinedProperties(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, v2_StartProfile ? v2_StartProfile->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_EndProfile ? v3_EndProfile->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_add2::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = data_.get_attribute_value(0); return v; } @@ -15545,7 +15545,7 @@ void Ifc4x3_add2::IfcSectionReinforcementProperties::setCrossSectionReinforcemen const IfcParse::entity& Ifc4x3_add2::IfcSectionReinforcementProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[993]); } const IfcParse::entity& Ifc4x3_add2::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[993]); } Ifc4x3_add2::IfcSectionReinforcementProperties::IfcSectionReinforcementProperties(IfcEntityInstanceData&& e) : IfcPreDefinedProperties(std::move(e)) { } -Ifc4x3_add2::IfcSectionReinforcementProperties::IfcSectionReinforcementProperties(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, boost::optional< double > v3_TransversePosition, ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add2::IfcSectionProperties* v5_SectionDefinition, aggregate_of< ::Ifc4x3_add2::IfcReinforcementBarProperties >::ptr v6_CrossSectionReinforcementDefinitions) : IfcPreDefinedProperties(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_LongitudinalStartPosition));set_attribute_value(1, (v2_LongitudinalEndPosition)); if (v3_TransversePosition) {set_attribute_value(2, (*v3_TransversePosition)); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, v5_SectionDefinition ? v5_SectionDefinition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_CrossSectionReinforcementDefinitions)->generalize()); } +Ifc4x3_add2::IfcSectionReinforcementProperties::IfcSectionReinforcementProperties(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, boost::optional< double > v3_TransversePosition, ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add2::IfcSectionProperties* v5_SectionDefinition, aggregate_of< ::Ifc4x3_add2::IfcReinforcementBarProperties >::ptr v6_CrossSectionReinforcementDefinitions) : IfcPreDefinedProperties(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_LongitudinalStartPosition));set_attribute_value(1, (v2_LongitudinalEndPosition)); if (v3_TransversePosition) {set_attribute_value(2, (*v3_TransversePosition)); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, v5_SectionDefinition ? v5_SectionDefinition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, (v6_CrossSectionReinforcementDefinitions)->generalize());; populate_derived(); } // Function implementations for IfcSectionedSolid ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcSectionedSolid::Directrix() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -15557,7 +15557,7 @@ void Ifc4x3_add2::IfcSectionedSolid::setCrossSections(aggregate_of< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcSectionedSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[987]); } const IfcParse::entity& Ifc4x3_add2::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[987]); } Ifc4x3_add2::IfcSectionedSolid::IfcSectionedSolid(IfcEntityInstanceData&& e) : IfcSolidModel(std::move(e)) { } -Ifc4x3_add2::IfcSectionedSolid::IfcSectionedSolid(::Ifc4x3_add2::IfcCurve* v1_Directrix, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v2_CrossSections) : IfcSolidModel(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSections)->generalize()); } +Ifc4x3_add2::IfcSectionedSolid::IfcSectionedSolid(::Ifc4x3_add2::IfcCurve* v1_Directrix, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v2_CrossSections) : IfcSolidModel(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSections)->generalize());; populate_derived(); } // Function implementations for IfcSectionedSolidHorizontal aggregate_of< ::Ifc4x3_add2::IfcAxis2PlacementLinear >::ptr Ifc4x3_add2::IfcSectionedSolidHorizontal::CrossSectionPositions() const { aggregate_of_instance::ptr es = data_.get_attribute_value(2); return es->as< ::Ifc4x3_add2::IfcAxis2PlacementLinear >(); } @@ -15567,7 +15567,7 @@ void Ifc4x3_add2::IfcSectionedSolidHorizontal::setCrossSectionPositions(aggregat const IfcParse::entity& Ifc4x3_add2::IfcSectionedSolidHorizontal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[988]); } const IfcParse::entity& Ifc4x3_add2::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[988]); } Ifc4x3_add2::IfcSectionedSolidHorizontal::IfcSectionedSolidHorizontal(IfcEntityInstanceData&& e) : IfcSectionedSolid(std::move(e)) { } -Ifc4x3_add2::IfcSectionedSolidHorizontal::IfcSectionedSolidHorizontal(::Ifc4x3_add2::IfcCurve* v1_Directrix, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v2_CrossSections, aggregate_of< ::Ifc4x3_add2::IfcAxis2PlacementLinear >::ptr v3_CrossSectionPositions) : IfcSectionedSolid(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSections)->generalize());set_attribute_value(2, (v3_CrossSectionPositions)->generalize()); } +Ifc4x3_add2::IfcSectionedSolidHorizontal::IfcSectionedSolidHorizontal(::Ifc4x3_add2::IfcCurve* v1_Directrix, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v2_CrossSections, aggregate_of< ::Ifc4x3_add2::IfcAxis2PlacementLinear >::ptr v3_CrossSectionPositions) : IfcSectionedSolid(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSections)->generalize());set_attribute_value(2, (v3_CrossSectionPositions)->generalize());; populate_derived(); } // Function implementations for IfcSectionedSpine ::Ifc4x3_add2::IfcCompositeCurve* Ifc4x3_add2::IfcSectionedSpine::SpineCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCompositeCurve>(true); } @@ -15581,7 +15581,7 @@ void Ifc4x3_add2::IfcSectionedSpine::setCrossSectionPositions(aggregate_of< ::If const IfcParse::entity& Ifc4x3_add2::IfcSectionedSpine::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[989]); } const IfcParse::entity& Ifc4x3_add2::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[989]); } Ifc4x3_add2::IfcSectionedSpine::IfcSectionedSpine(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSectionedSpine::IfcSectionedSpine(::Ifc4x3_add2::IfcCompositeCurve* v1_SpineCurve, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v2_CrossSections, aggregate_of< ::Ifc4x3_add2::IfcAxis2Placement3D >::ptr v3_CrossSectionPositions) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_SpineCurve ? v1_SpineCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSections)->generalize());set_attribute_value(2, (v3_CrossSectionPositions)->generalize()); } +Ifc4x3_add2::IfcSectionedSpine::IfcSectionedSpine(::Ifc4x3_add2::IfcCompositeCurve* v1_SpineCurve, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v2_CrossSections, aggregate_of< ::Ifc4x3_add2::IfcAxis2Placement3D >::ptr v3_CrossSectionPositions) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_SpineCurve ? v1_SpineCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSections)->generalize());set_attribute_value(2, (v3_CrossSectionPositions)->generalize());; populate_derived(); } // Function implementations for IfcSectionedSurface ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcSectionedSurface::Directrix() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -15595,7 +15595,7 @@ void Ifc4x3_add2::IfcSectionedSurface::setCrossSections(aggregate_of< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcSectionedSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[990]); } const IfcParse::entity& Ifc4x3_add2::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[990]); } Ifc4x3_add2::IfcSectionedSurface::IfcSectionedSurface(IfcEntityInstanceData&& e) : IfcSurface(std::move(e)) { } -Ifc4x3_add2::IfcSectionedSurface::IfcSectionedSurface(::Ifc4x3_add2::IfcCurve* v1_Directrix, aggregate_of< ::Ifc4x3_add2::IfcAxis2PlacementLinear >::ptr v2_CrossSectionPositions, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v3_CrossSections) : IfcSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSectionPositions)->generalize());set_attribute_value(2, (v3_CrossSections)->generalize()); } +Ifc4x3_add2::IfcSectionedSurface::IfcSectionedSurface(::Ifc4x3_add2::IfcCurve* v1_Directrix, aggregate_of< ::Ifc4x3_add2::IfcAxis2PlacementLinear >::ptr v2_CrossSectionPositions, aggregate_of< ::Ifc4x3_add2::IfcProfileDef >::ptr v3_CrossSections) : IfcSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CrossSectionPositions)->generalize());set_attribute_value(2, (v3_CrossSections)->generalize());; populate_derived(); } // Function implementations for IfcSegment ::Ifc4x3_add2::IfcTransitionCode::Value Ifc4x3_add2::IfcSegment::Transition() const { return ::Ifc4x3_add2::IfcTransitionCode::FromString(data_.get_attribute_value(0)); } @@ -15606,7 +15606,7 @@ void Ifc4x3_add2::IfcSegment::setTransition(::Ifc4x3_add2::IfcTransitionCode::Va const IfcParse::entity& Ifc4x3_add2::IfcSegment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[995]); } const IfcParse::entity& Ifc4x3_add2::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[995]); } Ifc4x3_add2::IfcSegment::IfcSegment(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSegment::IfcSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +Ifc4x3_add2::IfcSegment::IfcSegment(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));; populate_derived(); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3_add2::IfcBoundedCurve* Ifc4x3_add2::IfcSegmentedReferenceCurve::BaseCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcBoundedCurve>(true); } @@ -15618,7 +15618,7 @@ void Ifc4x3_add2::IfcSegmentedReferenceCurve::setEndPoint(::Ifc4x3_add2::IfcPlac const IfcParse::entity& Ifc4x3_add2::IfcSegmentedReferenceCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[996]); } const IfcParse::entity& Ifc4x3_add2::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[996]); } Ifc4x3_add2::IfcSegmentedReferenceCurve::IfcSegmentedReferenceCurve(IfcEntityInstanceData&& e) : IfcCompositeCurve(std::move(e)) { } -Ifc4x3_add2::IfcSegmentedReferenceCurve::IfcSegmentedReferenceCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve* v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement* v4_EndPoint) : IfcCompositeCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, v3_BaseCurve ? v3_BaseCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_EndPoint ? v4_EndPoint->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSegmentedReferenceCurve::IfcSegmentedReferenceCurve(aggregate_of< ::Ifc4x3_add2::IfcSegment >::ptr v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve* v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement* v4_EndPoint) : IfcCompositeCurve(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, (v1_Segments)->generalize());set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, v3_BaseCurve ? v3_BaseCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_EndPoint ? v4_EndPoint->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSensor boost::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > Ifc4x3_add2::IfcSensor::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSensorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15628,7 +15628,7 @@ void Ifc4x3_add2::IfcSensor::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcSensor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[998]); } const IfcParse::entity& Ifc4x3_add2::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[998]); } Ifc4x3_add2::IfcSensor::IfcSensor(IfcEntityInstanceData&& e) : IfcDistributionControlElement(std::move(e)) { } -Ifc4x3_add2::IfcSensor::IfcSensor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSensor::IfcSensor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSensorType ::Ifc4x3_add2::IfcSensorTypeEnum::Value Ifc4x3_add2::IfcSensorType::PredefinedType() const { return ::Ifc4x3_add2::IfcSensorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15638,7 +15638,7 @@ void Ifc4x3_add2::IfcSensorType::setPredefinedType(::Ifc4x3_add2::IfcSensorTypeE const IfcParse::entity& Ifc4x3_add2::IfcSensorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[999]); } const IfcParse::entity& Ifc4x3_add2::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[999]); } Ifc4x3_add2::IfcSensorType::IfcSensorType(IfcEntityInstanceData&& e) : IfcDistributionControlElementType(std::move(e)) { } -Ifc4x3_add2::IfcSensorType::IfcSensorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSensorTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSensorType::IfcSensorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSensorTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSeventhOrderPolynomialSpiral double Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::SepticTerm() const { double v = data_.get_attribute_value(1); return v; } @@ -15662,7 +15662,7 @@ void Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::setConstantTerm(boost::option const IfcParse::entity& Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1002]); } const IfcParse::entity& Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1002]); } Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::IfcSeventhOrderPolynomialSpiral(IfcEntityInstanceData&& e) : IfcSpiral(std::move(e)) { } -Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::IfcSeventhOrderPolynomialSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_SepticTerm, boost::optional< double > v3_SexticTerm, boost::optional< double > v4_QuinticTerm, boost::optional< double > v5_QuarticTerm, boost::optional< double > v6_CubicTerm, boost::optional< double > v7_QuadraticTerm, boost::optional< double > v8_LinearTerm, boost::optional< double > v9_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_SepticTerm)); if (v3_SexticTerm) {set_attribute_value(2, (*v3_SexticTerm)); } if (v4_QuinticTerm) {set_attribute_value(3, (*v4_QuinticTerm)); } if (v5_QuarticTerm) {set_attribute_value(4, (*v5_QuarticTerm)); } if (v6_CubicTerm) {set_attribute_value(5, (*v6_CubicTerm)); } if (v7_QuadraticTerm) {set_attribute_value(6, (*v7_QuadraticTerm)); } if (v8_LinearTerm) {set_attribute_value(7, (*v8_LinearTerm)); } if (v9_ConstantTerm) {set_attribute_value(8, (*v9_ConstantTerm)); } } +Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::IfcSeventhOrderPolynomialSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_SepticTerm, boost::optional< double > v3_SexticTerm, boost::optional< double > v4_QuinticTerm, boost::optional< double > v5_QuarticTerm, boost::optional< double > v6_CubicTerm, boost::optional< double > v7_QuadraticTerm, boost::optional< double > v8_LinearTerm, boost::optional< double > v9_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_SepticTerm)); if (v3_SexticTerm) {set_attribute_value(2, (*v3_SexticTerm)); } if (v4_QuinticTerm) {set_attribute_value(3, (*v4_QuinticTerm)); } if (v5_QuarticTerm) {set_attribute_value(4, (*v5_QuarticTerm)); } if (v6_CubicTerm) {set_attribute_value(5, (*v6_CubicTerm)); } if (v7_QuadraticTerm) {set_attribute_value(6, (*v7_QuadraticTerm)); } if (v8_LinearTerm) {set_attribute_value(7, (*v8_LinearTerm)); } if (v9_ConstantTerm) {set_attribute_value(8, (*v9_ConstantTerm)); }; populate_derived(); } // Function implementations for IfcShadingDevice boost::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > Ifc4x3_add2::IfcShadingDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15672,7 +15672,7 @@ void Ifc4x3_add2::IfcShadingDevice::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcShadingDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1003]); } const IfcParse::entity& Ifc4x3_add2::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1003]); } Ifc4x3_add2::IfcShadingDevice::IfcShadingDevice(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcShadingDevice::IfcShadingDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcShadingDevice::IfcShadingDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcShadingDeviceType ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value Ifc4x3_add2::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15682,7 +15682,7 @@ void Ifc4x3_add2::IfcShadingDeviceType::setPredefinedType(::Ifc4x3_add2::IfcShad const IfcParse::entity& Ifc4x3_add2::IfcShadingDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1004]); } const IfcParse::entity& Ifc4x3_add2::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1004]); } Ifc4x3_add2::IfcShadingDeviceType::IfcShadingDeviceType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcShadingDeviceType::IfcShadingDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcShadingDeviceType::IfcShadingDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcShapeAspect aggregate_of< ::Ifc4x3_add2::IfcShapeModel >::ptr Ifc4x3_add2::IfcShapeAspect::ShapeRepresentations() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcShapeModel >(); } @@ -15701,7 +15701,7 @@ void Ifc4x3_add2::IfcShapeAspect::setPartOfProductDefinitionShape(::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcShapeAspect::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1006]); } const IfcParse::entity& Ifc4x3_add2::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1006]); } Ifc4x3_add2::IfcShapeAspect::IfcShapeAspect(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcShapeAspect::IfcShapeAspect(aggregate_of< ::Ifc4x3_add2::IfcShapeModel >::ptr v1_ShapeRepresentations, boost::optional< std::string > v2_Name, boost::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_add2::IfcProductRepresentationSelect* v5_PartOfProductDefinitionShape) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_ShapeRepresentations)->generalize()); if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, (v4_ProductDefinitional));set_attribute_value(4, v5_PartOfProductDefinitionShape ? v5_PartOfProductDefinitionShape->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcShapeAspect::IfcShapeAspect(aggregate_of< ::Ifc4x3_add2::IfcShapeModel >::ptr v1_ShapeRepresentations, boost::optional< std::string > v2_Name, boost::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_add2::IfcProductRepresentationSelect* v5_PartOfProductDefinitionShape) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_ShapeRepresentations)->generalize()); if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, (v4_ProductDefinitional));set_attribute_value(4, v5_PartOfProductDefinitionShape ? v5_PartOfProductDefinitionShape->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcShapeModel @@ -15710,7 +15710,7 @@ Ifc4x3_add2::IfcShapeAspect::IfcShapeAspect(aggregate_of< ::Ifc4x3_add2::IfcShap const IfcParse::entity& Ifc4x3_add2::IfcShapeModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1007]); } const IfcParse::entity& Ifc4x3_add2::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1007]); } Ifc4x3_add2::IfcShapeModel::IfcShapeModel(IfcEntityInstanceData&& e) : IfcRepresentation(std::move(e)) { } -Ifc4x3_add2::IfcShapeModel::IfcShapeModel(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcRepresentation(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize()); } +Ifc4x3_add2::IfcShapeModel::IfcShapeModel(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcRepresentation(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize());; populate_derived(); } // Function implementations for IfcShapeRepresentation @@ -15718,7 +15718,7 @@ Ifc4x3_add2::IfcShapeModel::IfcShapeModel(::Ifc4x3_add2::IfcRepresentationContex const IfcParse::entity& Ifc4x3_add2::IfcShapeRepresentation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1008]); } const IfcParse::entity& Ifc4x3_add2::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1008]); } Ifc4x3_add2::IfcShapeRepresentation::IfcShapeRepresentation(IfcEntityInstanceData&& e) : IfcShapeModel(std::move(e)) { } -Ifc4x3_add2::IfcShapeRepresentation::IfcShapeRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcShapeModel(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize()); } +Ifc4x3_add2::IfcShapeRepresentation::IfcShapeRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcShapeModel(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize());; populate_derived(); } // Function implementations for IfcShellBasedSurfaceModel aggregate_of< ::Ifc4x3_add2::IfcShell >::ptr Ifc4x3_add2::IfcShellBasedSurfaceModel::SbsmBoundary() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcShell >(); } @@ -15728,7 +15728,7 @@ void Ifc4x3_add2::IfcShellBasedSurfaceModel::setSbsmBoundary(aggregate_of< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcShellBasedSurfaceModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1011]); } const IfcParse::entity& Ifc4x3_add2::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1011]); } Ifc4x3_add2::IfcShellBasedSurfaceModel::IfcShellBasedSurfaceModel(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcShellBasedSurfaceModel::IfcShellBasedSurfaceModel(aggregate_of< ::Ifc4x3_add2::IfcShell >::ptr v1_SbsmBoundary) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_SbsmBoundary)->generalize()); } +Ifc4x3_add2::IfcShellBasedSurfaceModel::IfcShellBasedSurfaceModel(aggregate_of< ::Ifc4x3_add2::IfcShell >::ptr v1_SbsmBoundary) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_SbsmBoundary)->generalize());; populate_derived(); } // Function implementations for IfcSign boost::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > Ifc4x3_add2::IfcSign::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSignTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15738,7 +15738,7 @@ void Ifc4x3_add2::IfcSign::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcSign::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1012]); } const IfcParse::entity& Ifc4x3_add2::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1012]); } Ifc4x3_add2::IfcSign::IfcSign(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcSign::IfcSign(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSign::IfcSign(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSignType ::Ifc4x3_add2::IfcSignTypeEnum::Value Ifc4x3_add2::IfcSignType::PredefinedType() const { return ::Ifc4x3_add2::IfcSignTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15748,7 +15748,7 @@ void Ifc4x3_add2::IfcSignType::setPredefinedType(::Ifc4x3_add2::IfcSignTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcSignType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1016]); } const IfcParse::entity& Ifc4x3_add2::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1016]); } Ifc4x3_add2::IfcSignType::IfcSignType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcSignType::IfcSignType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSignType::IfcSignType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSignal boost::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > Ifc4x3_add2::IfcSignal::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSignalTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15758,7 +15758,7 @@ void Ifc4x3_add2::IfcSignal::setPredefinedType(boost::optional< ::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcSignal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1013]); } const IfcParse::entity& Ifc4x3_add2::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1013]); } Ifc4x3_add2::IfcSignal::IfcSignal(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcSignal::IfcSignal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSignal::IfcSignal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSignalType ::Ifc4x3_add2::IfcSignalTypeEnum::Value Ifc4x3_add2::IfcSignalType::PredefinedType() const { return ::Ifc4x3_add2::IfcSignalTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15768,7 +15768,7 @@ void Ifc4x3_add2::IfcSignalType::setPredefinedType(::Ifc4x3_add2::IfcSignalTypeE const IfcParse::entity& Ifc4x3_add2::IfcSignalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1014]); } const IfcParse::entity& Ifc4x3_add2::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1014]); } Ifc4x3_add2::IfcSignalType::IfcSignalType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcSignalType::IfcSignalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSignalType::IfcSignalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSimpleProperty @@ -15776,7 +15776,7 @@ Ifc4x3_add2::IfcSignalType::IfcSignalType(std::string v1_GlobalId, ::Ifc4x3_add2 const IfcParse::entity& Ifc4x3_add2::IfcSimpleProperty::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1018]); } const IfcParse::entity& Ifc4x3_add2::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1018]); } Ifc4x3_add2::IfcSimpleProperty::IfcSimpleProperty(IfcEntityInstanceData&& e) : IfcProperty(std::move(e)) { } -Ifc4x3_add2::IfcSimpleProperty::IfcSimpleProperty(std::string v1_Name, boost::optional< std::string > v2_Specification) : IfcProperty(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } +Ifc4x3_add2::IfcSimpleProperty::IfcSimpleProperty(std::string v1_Name, boost::optional< std::string > v2_Specification) : IfcProperty(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }; populate_derived(); } // Function implementations for IfcSimplePropertyTemplate boost::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_add2::IfcSimplePropertyTemplate::TemplateType() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::FromString(data_.get_attribute_value(4)); } @@ -15800,7 +15800,7 @@ void Ifc4x3_add2::IfcSimplePropertyTemplate::setAccessState(boost::optional< ::I const IfcParse::entity& Ifc4x3_add2::IfcSimplePropertyTemplate::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1019]); } const IfcParse::entity& Ifc4x3_add2::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1019]); } Ifc4x3_add2::IfcSimplePropertyTemplate::IfcSimplePropertyTemplate(IfcEntityInstanceData&& e) : IfcPropertyTemplate(std::move(e)) { } -Ifc4x3_add2::IfcSimplePropertyTemplate::IfcSimplePropertyTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, boost::optional< std::string > v6_PrimaryMeasureType, boost::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add2::IfcPropertyEnumeration* v8_Enumerators, ::Ifc4x3_add2::IfcUnit* v9_PrimaryUnit, ::Ifc4x3_add2::IfcUnit* v10_SecondaryUnit, boost::optional< std::string > v11_Expression, boost::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v12_AccessState) : IfcPropertyTemplate(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_TemplateType) {set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_PrimaryMeasureType) {set_attribute_value(5, (*v6_PrimaryMeasureType)); } if (v7_SecondaryMeasureType) {set_attribute_value(6, (*v7_SecondaryMeasureType)); }set_attribute_value(7, v8_Enumerators ? v8_Enumerators->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_PrimaryUnit ? v9_PrimaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(9, v10_SecondaryUnit ? v10_SecondaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +Ifc4x3_add2::IfcSimplePropertyTemplate::IfcSimplePropertyTemplate(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, boost::optional< std::string > v6_PrimaryMeasureType, boost::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add2::IfcPropertyEnumeration* v8_Enumerators, ::Ifc4x3_add2::IfcUnit* v9_PrimaryUnit, ::Ifc4x3_add2::IfcUnit* v10_SecondaryUnit, boost::optional< std::string > v11_Expression, boost::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v12_AccessState) : IfcPropertyTemplate(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_TemplateType) {set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_PrimaryMeasureType) {set_attribute_value(5, (*v6_PrimaryMeasureType)); } if (v7_SecondaryMeasureType) {set_attribute_value(6, (*v7_SecondaryMeasureType)); }set_attribute_value(7, v8_Enumerators ? v8_Enumerators->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_PrimaryUnit ? v9_PrimaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(9, v10_SecondaryUnit ? v10_SecondaryUnit->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStateEnum::Class(),(size_t)*v12_AccessState))); }; populate_derived(); } // Function implementations for IfcSineSpiral double Ifc4x3_add2::IfcSineSpiral::SineTerm() const { double v = data_.get_attribute_value(1); return v; } @@ -15814,7 +15814,7 @@ void Ifc4x3_add2::IfcSineSpiral::setConstantTerm(boost::optional< double > v) { const IfcParse::entity& Ifc4x3_add2::IfcSineSpiral::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1022]); } const IfcParse::entity& Ifc4x3_add2::IfcSineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1022]); } Ifc4x3_add2::IfcSineSpiral::IfcSineSpiral(IfcEntityInstanceData&& e) : IfcSpiral(std::move(e)) { } -Ifc4x3_add2::IfcSineSpiral::IfcSineSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_SineTerm, boost::optional< double > v3_LinearTerm, boost::optional< double > v4_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_SineTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } +Ifc4x3_add2::IfcSineSpiral::IfcSineSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_SineTerm, boost::optional< double > v3_LinearTerm, boost::optional< double > v4_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_SineTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); }; populate_derived(); } // Function implementations for IfcSite boost::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_add2::IfcSite::RefLatitude() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } std::vector< int > /*[3:4]*/ v = data_.get_attribute_value(9); return v; } @@ -15832,7 +15832,7 @@ void Ifc4x3_add2::IfcSite::setSiteAddress(::Ifc4x3_add2::IfcPostalAddress* v) { const IfcParse::entity& Ifc4x3_add2::IfcSite::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1024]); } const IfcParse::entity& Ifc4x3_add2::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1024]); } Ifc4x3_add2::IfcSite::IfcSite(IfcEntityInstanceData&& e) : IfcSpatialStructureElement(std::move(e)) { } -Ifc4x3_add2::IfcSite::IfcSite(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, boost::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, boost::optional< double > v12_RefElevation, boost::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add2::IfcPostalAddress* v14_SiteAddress) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_RefLatitude) {set_attribute_value(9, (*v10_RefLatitude)); } if (v11_RefLongitude) {set_attribute_value(10, (*v11_RefLongitude)); } if (v12_RefElevation) {set_attribute_value(11, (*v12_RefElevation)); } if (v13_LandTitleNumber) {set_attribute_value(12, (*v13_LandTitleNumber)); }set_attribute_value(13, v14_SiteAddress ? v14_SiteAddress->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSite::IfcSite(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, boost::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, boost::optional< double > v12_RefElevation, boost::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add2::IfcPostalAddress* v14_SiteAddress) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_RefLatitude) {set_attribute_value(9, (*v10_RefLatitude)); } if (v11_RefLongitude) {set_attribute_value(10, (*v11_RefLongitude)); } if (v12_RefElevation) {set_attribute_value(11, (*v12_RefElevation)); } if (v13_LandTitleNumber) {set_attribute_value(12, (*v13_LandTitleNumber)); }set_attribute_value(13, v14_SiteAddress ? v14_SiteAddress->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSlab boost::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > Ifc4x3_add2::IfcSlab::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSlabTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15842,7 +15842,7 @@ void Ifc4x3_add2::IfcSlab::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcSlab::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1028]); } const IfcParse::entity& Ifc4x3_add2::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1028]); } Ifc4x3_add2::IfcSlab::IfcSlab(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcSlab::IfcSlab(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSlab::IfcSlab(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSlabType ::Ifc4x3_add2::IfcSlabTypeEnum::Value Ifc4x3_add2::IfcSlabType::PredefinedType() const { return ::Ifc4x3_add2::IfcSlabTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15852,7 +15852,7 @@ void Ifc4x3_add2::IfcSlabType::setPredefinedType(::Ifc4x3_add2::IfcSlabTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcSlabType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1029]); } const IfcParse::entity& Ifc4x3_add2::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1029]); } Ifc4x3_add2::IfcSlabType::IfcSlabType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcSlabType::IfcSlabType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSlabTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSlabType::IfcSlabType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSlabTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSlippageConnectionCondition boost::optional< double > Ifc4x3_add2::IfcSlippageConnectionCondition::SlippageX() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } double v = data_.get_attribute_value(1); return v; } @@ -15866,7 +15866,7 @@ void Ifc4x3_add2::IfcSlippageConnectionCondition::setSlippageZ(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcSlippageConnectionCondition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1031]); } const IfcParse::entity& Ifc4x3_add2::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1031]); } Ifc4x3_add2::IfcSlippageConnectionCondition::IfcSlippageConnectionCondition(IfcEntityInstanceData&& e) : IfcStructuralConnectionCondition(std::move(e)) { } -Ifc4x3_add2::IfcSlippageConnectionCondition::IfcSlippageConnectionCondition(boost::optional< std::string > v1_Name, boost::optional< double > v2_SlippageX, boost::optional< double > v3_SlippageY, boost::optional< double > v4_SlippageZ) : IfcStructuralConnectionCondition(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_SlippageX) {set_attribute_value(1, (*v2_SlippageX)); } if (v3_SlippageY) {set_attribute_value(2, (*v3_SlippageY)); } if (v4_SlippageZ) {set_attribute_value(3, (*v4_SlippageZ)); } } +Ifc4x3_add2::IfcSlippageConnectionCondition::IfcSlippageConnectionCondition(boost::optional< std::string > v1_Name, boost::optional< double > v2_SlippageX, boost::optional< double > v3_SlippageY, boost::optional< double > v4_SlippageZ) : IfcStructuralConnectionCondition(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_SlippageX) {set_attribute_value(1, (*v2_SlippageX)); } if (v3_SlippageY) {set_attribute_value(2, (*v3_SlippageY)); } if (v4_SlippageZ) {set_attribute_value(3, (*v4_SlippageZ)); }; populate_derived(); } // Function implementations for IfcSolarDevice boost::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > Ifc4x3_add2::IfcSolarDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15876,7 +15876,7 @@ void Ifc4x3_add2::IfcSolarDevice::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcSolarDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1032]); } const IfcParse::entity& Ifc4x3_add2::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1032]); } Ifc4x3_add2::IfcSolarDevice::IfcSolarDevice(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcSolarDevice::IfcSolarDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSolarDevice::IfcSolarDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSolarDeviceType ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value Ifc4x3_add2::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15886,7 +15886,7 @@ void Ifc4x3_add2::IfcSolarDeviceType::setPredefinedType(::Ifc4x3_add2::IfcSolarD const IfcParse::entity& Ifc4x3_add2::IfcSolarDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1033]); } const IfcParse::entity& Ifc4x3_add2::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1033]); } Ifc4x3_add2::IfcSolarDeviceType::IfcSolarDeviceType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcSolarDeviceType::IfcSolarDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSolarDeviceType::IfcSolarDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSolidModel @@ -15894,7 +15894,7 @@ Ifc4x3_add2::IfcSolarDeviceType::IfcSolarDeviceType(std::string v1_GlobalId, ::I const IfcParse::entity& Ifc4x3_add2::IfcSolidModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1036]); } const IfcParse::entity& Ifc4x3_add2::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1036]); } Ifc4x3_add2::IfcSolidModel::IfcSolidModel(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSolidModel::IfcSolidModel() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcSolidModel::IfcSolidModel() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcSpace boost::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value > Ifc4x3_add2::IfcSpace::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSpaceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15908,7 +15908,7 @@ void Ifc4x3_add2::IfcSpace::setElevationWithFlooring(boost::optional< double > v const IfcParse::entity& Ifc4x3_add2::IfcSpace::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1042]); } const IfcParse::entity& Ifc4x3_add2::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1042]); } Ifc4x3_add2::IfcSpace::IfcSpace(IfcEntityInstanceData&& e) : IfcSpatialStructureElement(std::move(e)) { } -Ifc4x3_add2::IfcSpace::IfcSpace(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value > v10_PredefinedType, boost::optional< double > v11_ElevationWithFlooring) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +Ifc4x3_add2::IfcSpace::IfcSpace(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, boost::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value > v10_PredefinedType, boost::optional< double > v11_ElevationWithFlooring) : IfcSpatialStructureElement(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); }; populate_derived(); } // Function implementations for IfcSpaceHeater boost::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_add2::IfcSpaceHeater::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15918,7 +15918,7 @@ void Ifc4x3_add2::IfcSpaceHeater::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcSpaceHeater::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1044]); } const IfcParse::entity& Ifc4x3_add2::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1044]); } Ifc4x3_add2::IfcSpaceHeater::IfcSpaceHeater(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcSpaceHeater::IfcSpaceHeater(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSpaceHeater::IfcSpaceHeater(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value Ifc4x3_add2::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15928,7 +15928,7 @@ void Ifc4x3_add2::IfcSpaceHeaterType::setPredefinedType(::Ifc4x3_add2::IfcSpaceH const IfcParse::entity& Ifc4x3_add2::IfcSpaceHeaterType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1045]); } const IfcParse::entity& Ifc4x3_add2::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1045]); } Ifc4x3_add2::IfcSpaceHeaterType::IfcSpaceHeaterType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcSpaceHeaterType::IfcSpaceHeaterType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSpaceHeaterType::IfcSpaceHeaterType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSpaceType ::Ifc4x3_add2::IfcSpaceTypeEnum::Value Ifc4x3_add2::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSpaceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -15940,7 +15940,7 @@ void Ifc4x3_add2::IfcSpaceType::setLongName(boost::optional< std::string > v) { const IfcParse::entity& Ifc4x3_add2::IfcSpaceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1047]); } const IfcParse::entity& Ifc4x3_add2::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1047]); } Ifc4x3_add2::IfcSpaceType::IfcSpaceType(IfcEntityInstanceData&& e) : IfcSpatialStructureElementType(std::move(e)) { } -Ifc4x3_add2::IfcSpaceType::IfcSpaceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceTypeEnum::Value v10_PredefinedType, boost::optional< std::string > v11_LongName) : IfcSpatialStructureElementType(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +Ifc4x3_add2::IfcSpaceType::IfcSpaceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceTypeEnum::Value v10_PredefinedType, boost::optional< std::string > v11_LongName) : IfcSpatialStructureElementType(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); }; populate_derived(); } // Function implementations for IfcSpatialElement boost::optional< std::string > Ifc4x3_add2::IfcSpatialElement::LongName() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(7); return v; } @@ -15955,7 +15955,7 @@ void Ifc4x3_add2::IfcSpatialElement::setLongName(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcSpatialElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1049]); } const IfcParse::entity& Ifc4x3_add2::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1049]); } Ifc4x3_add2::IfcSpatialElement::IfcSpatialElement(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcSpatialElement::IfcSpatialElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName) : IfcProduct(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } +Ifc4x3_add2::IfcSpatialElement::IfcSpatialElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName) : IfcProduct(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }; populate_derived(); } // Function implementations for IfcSpatialElementType boost::optional< std::string > Ifc4x3_add2::IfcSpatialElementType::ElementType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(8); return v; } @@ -15965,7 +15965,7 @@ void Ifc4x3_add2::IfcSpatialElementType::setElementType(boost::optional< std::st const IfcParse::entity& Ifc4x3_add2::IfcSpatialElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1050]); } const IfcParse::entity& Ifc4x3_add2::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1050]); } Ifc4x3_add2::IfcSpatialElementType::IfcSpatialElementType(IfcEntityInstanceData&& e) : IfcTypeProduct(std::move(e)) { } -Ifc4x3_add2::IfcSpatialElementType::IfcSpatialElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcTypeProduct(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcSpatialElementType::IfcSpatialElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcTypeProduct(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcSpatialStructureElement boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > Ifc4x3_add2::IfcSpatialStructureElement::CompositionType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcElementCompositionEnum::FromString(data_.get_attribute_value(8)); } @@ -15975,7 +15975,7 @@ void Ifc4x3_add2::IfcSpatialStructureElement::setCompositionType(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcSpatialStructureElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1052]); } const IfcParse::entity& Ifc4x3_add2::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1052]); } Ifc4x3_add2::IfcSpatialStructureElement::IfcSpatialStructureElement(IfcEntityInstanceData&& e) : IfcSpatialElement(std::move(e)) { } -Ifc4x3_add2::IfcSpatialStructureElement::IfcSpatialStructureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) : IfcSpatialElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +Ifc4x3_add2::IfcSpatialStructureElement::IfcSpatialStructureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) : IfcSpatialElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }; populate_derived(); } // Function implementations for IfcSpatialStructureElementType @@ -15983,7 +15983,7 @@ Ifc4x3_add2::IfcSpatialStructureElement::IfcSpatialStructureElement(std::string const IfcParse::entity& Ifc4x3_add2::IfcSpatialStructureElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1053]); } const IfcParse::entity& Ifc4x3_add2::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1053]); } Ifc4x3_add2::IfcSpatialStructureElementType::IfcSpatialStructureElementType(IfcEntityInstanceData&& e) : IfcSpatialElementType(std::move(e)) { } -Ifc4x3_add2::IfcSpatialStructureElementType::IfcSpatialStructureElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcSpatialElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcSpatialStructureElementType::IfcSpatialStructureElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcSpatialElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcSpatialZone boost::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > Ifc4x3_add2::IfcSpatialZone::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -15993,7 +15993,7 @@ void Ifc4x3_add2::IfcSpatialZone::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcSpatialZone::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1054]); } const IfcParse::entity& Ifc4x3_add2::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1054]); } Ifc4x3_add2::IfcSpatialZone::IfcSpatialZone(IfcEntityInstanceData&& e) : IfcSpatialElement(std::move(e)) { } -Ifc4x3_add2::IfcSpatialZone::IfcSpatialZone(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) : IfcSpatialElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSpatialZone::IfcSpatialZone(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_LongName, boost::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) : IfcSpatialElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSpatialZoneType ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value Ifc4x3_add2::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16005,7 +16005,7 @@ void Ifc4x3_add2::IfcSpatialZoneType::setLongName(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcSpatialZoneType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1055]); } const IfcParse::entity& Ifc4x3_add2::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1055]); } Ifc4x3_add2::IfcSpatialZoneType::IfcSpatialZoneType(IfcEntityInstanceData&& e) : IfcSpatialElementType(std::move(e)) { } -Ifc4x3_add2::IfcSpatialZoneType::IfcSpatialZoneType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, boost::optional< std::string > v11_LongName) : IfcSpatialElementType(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +Ifc4x3_add2::IfcSpatialZoneType::IfcSpatialZoneType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, boost::optional< std::string > v11_LongName) : IfcSpatialElementType(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); }; populate_derived(); } // Function implementations for IfcSphere double Ifc4x3_add2::IfcSphere::Radius() const { double v = data_.get_attribute_value(1); return v; } @@ -16015,7 +16015,7 @@ void Ifc4x3_add2::IfcSphere::setRadius(double v) { set_attribute_value(1, v);if const IfcParse::entity& Ifc4x3_add2::IfcSphere::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1061]); } const IfcParse::entity& Ifc4x3_add2::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1061]); } Ifc4x3_add2::IfcSphere::IfcSphere(IfcEntityInstanceData&& e) : IfcCsgPrimitive3D(std::move(e)) { } -Ifc4x3_add2::IfcSphere::IfcSphere(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Radius) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); } +Ifc4x3_add2::IfcSphere::IfcSphere(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Radius) : IfcCsgPrimitive3D(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius));; populate_derived(); } // Function implementations for IfcSphericalSurface double Ifc4x3_add2::IfcSphericalSurface::Radius() const { double v = data_.get_attribute_value(1); return v; } @@ -16025,7 +16025,7 @@ void Ifc4x3_add2::IfcSphericalSurface::setRadius(double v) { set_attribute_value const IfcParse::entity& Ifc4x3_add2::IfcSphericalSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1062]); } const IfcParse::entity& Ifc4x3_add2::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1062]); } Ifc4x3_add2::IfcSphericalSurface::IfcSphericalSurface(IfcEntityInstanceData&& e) : IfcElementarySurface(std::move(e)) { } -Ifc4x3_add2::IfcSphericalSurface::IfcSphericalSurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Radius) : IfcElementarySurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); } +Ifc4x3_add2::IfcSphericalSurface::IfcSphericalSurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_Radius) : IfcElementarySurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius));; populate_derived(); } // Function implementations for IfcSpiral ::Ifc4x3_add2::IfcAxis2Placement* Ifc4x3_add2::IfcSpiral::Position() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcAxis2Placement>(true); } @@ -16035,7 +16035,7 @@ void Ifc4x3_add2::IfcSpiral::setPosition(::Ifc4x3_add2::IfcAxis2Placement* v) { const IfcParse::entity& Ifc4x3_add2::IfcSpiral::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1063]); } const IfcParse::entity& Ifc4x3_add2::IfcSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1063]); } Ifc4x3_add2::IfcSpiral::IfcSpiral(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcSpiral::IfcSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position) : IfcCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSpiral::IfcSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position) : IfcCurve(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStackTerminal boost::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > Ifc4x3_add2::IfcStackTerminal::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcStackTerminalTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -16045,7 +16045,7 @@ void Ifc4x3_add2::IfcStackTerminal::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcStackTerminal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1064]); } const IfcParse::entity& Ifc4x3_add2::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1064]); } Ifc4x3_add2::IfcStackTerminal::IfcStackTerminal(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcStackTerminal::IfcStackTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcStackTerminal::IfcStackTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcStackTerminalType ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value Ifc4x3_add2::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcStackTerminalTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16055,7 +16055,7 @@ void Ifc4x3_add2::IfcStackTerminalType::setPredefinedType(::Ifc4x3_add2::IfcStac const IfcParse::entity& Ifc4x3_add2::IfcStackTerminalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1065]); } const IfcParse::entity& Ifc4x3_add2::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1065]); } Ifc4x3_add2::IfcStackTerminalType::IfcStackTerminalType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcStackTerminalType::IfcStackTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcStackTerminalType::IfcStackTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcStair boost::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > Ifc4x3_add2::IfcStair::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcStairTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -16065,7 +16065,7 @@ void Ifc4x3_add2::IfcStair::setPredefinedType(boost::optional< ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcStair::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1067]); } const IfcParse::entity& Ifc4x3_add2::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1067]); } Ifc4x3_add2::IfcStair::IfcStair(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcStair::IfcStair(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcStair::IfcStair(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcStairFlight boost::optional< int > Ifc4x3_add2::IfcStairFlight::NumberOfRisers() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } int v = data_.get_attribute_value(8); return v; } @@ -16083,7 +16083,7 @@ void Ifc4x3_add2::IfcStairFlight::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcStairFlight::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1068]); } const IfcParse::entity& Ifc4x3_add2::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1068]); } Ifc4x3_add2::IfcStairFlight::IfcStairFlight(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcStairFlight::IfcStairFlight(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< int > v9_NumberOfRisers, boost::optional< int > v10_NumberOfTreads, boost::optional< double > v11_RiserHeight, boost::optional< double > v12_TreadLength, boost::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_NumberOfRisers) {set_attribute_value(8, (*v9_NumberOfRisers)); } if (v10_NumberOfTreads) {set_attribute_value(9, (*v10_NumberOfTreads)); } if (v11_RiserHeight) {set_attribute_value(10, (*v11_RiserHeight)); } if (v12_TreadLength) {set_attribute_value(11, (*v12_TreadLength)); } if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +Ifc4x3_add2::IfcStairFlight::IfcStairFlight(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< int > v9_NumberOfRisers, boost::optional< int > v10_NumberOfTreads, boost::optional< double > v11_RiserHeight, boost::optional< double > v12_TreadLength, boost::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_NumberOfRisers) {set_attribute_value(8, (*v9_NumberOfRisers)); } if (v10_NumberOfTreads) {set_attribute_value(9, (*v10_NumberOfTreads)); } if (v11_RiserHeight) {set_attribute_value(10, (*v11_RiserHeight)); } if (v12_TreadLength) {set_attribute_value(11, (*v12_TreadLength)); } if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); }; populate_derived(); } // Function implementations for IfcStairFlightType ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value Ifc4x3_add2::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_add2::IfcStairFlightTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16093,7 +16093,7 @@ void Ifc4x3_add2::IfcStairFlightType::setPredefinedType(::Ifc4x3_add2::IfcStairF const IfcParse::entity& Ifc4x3_add2::IfcStairFlightType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1069]); } const IfcParse::entity& Ifc4x3_add2::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1069]); } Ifc4x3_add2::IfcStairFlightType::IfcStairFlightType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcStairFlightType::IfcStairFlightType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcStairFlightType::IfcStairFlightType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcStairType ::Ifc4x3_add2::IfcStairTypeEnum::Value Ifc4x3_add2::IfcStairType::PredefinedType() const { return ::Ifc4x3_add2::IfcStairTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16103,7 +16103,7 @@ void Ifc4x3_add2::IfcStairType::setPredefinedType(::Ifc4x3_add2::IfcStairTypeEnu const IfcParse::entity& Ifc4x3_add2::IfcStairType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1071]); } const IfcParse::entity& Ifc4x3_add2::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1071]); } Ifc4x3_add2::IfcStairType::IfcStairType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcStairType::IfcStairType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcStairType::IfcStairType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcStructuralAction boost::optional< bool > Ifc4x3_add2::IfcStructuralAction::DestabilizingLoad() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } bool v = data_.get_attribute_value(9); return v; } @@ -16113,7 +16113,7 @@ void Ifc4x3_add2::IfcStructuralAction::setDestabilizingLoad(boost::optional< boo const IfcParse::entity& Ifc4x3_add2::IfcStructuralAction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1075]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1075]); } Ifc4x3_add2::IfcStructuralAction::IfcStructuralAction(IfcEntityInstanceData&& e) : IfcStructuralActivity(std::move(e)) { } -Ifc4x3_add2::IfcStructuralAction::IfcStructuralAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad) : IfcStructuralActivity(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +Ifc4x3_add2::IfcStructuralAction::IfcStructuralAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad) : IfcStructuralActivity(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); }; populate_derived(); } // Function implementations for IfcStructuralActivity ::Ifc4x3_add2::IfcStructuralLoad* Ifc4x3_add2::IfcStructuralActivity::AppliedLoad() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(7)))->as<::Ifc4x3_add2::IfcStructuralLoad>(true); } @@ -16126,7 +16126,7 @@ void Ifc4x3_add2::IfcStructuralActivity::setGlobalOrLocal(::Ifc4x3_add2::IfcGlob const IfcParse::entity& Ifc4x3_add2::IfcStructuralActivity::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1076]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1076]); } Ifc4x3_add2::IfcStructuralActivity::IfcStructuralActivity(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcStructuralActivity::IfcStructuralActivity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) : IfcProduct(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +Ifc4x3_add2::IfcStructuralActivity::IfcStructuralActivity(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) : IfcProduct(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));; populate_derived(); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value Ifc4x3_add2::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::FromString(data_.get_attribute_value(5)); } @@ -16144,7 +16144,7 @@ void Ifc4x3_add2::IfcStructuralAnalysisModel::setSharedPlacement(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcStructuralAnalysisModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1078]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1078]); } Ifc4x3_add2::IfcStructuralAnalysisModel::IfcStructuralAnalysisModel(IfcEntityInstanceData&& e) : IfcSystem(std::move(e)) { } -Ifc4x3_add2::IfcStructuralAnalysisModel::IfcStructuralAnalysisModel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcAxis2Placement3D* v7_OrientationOf2DPlane, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcStructuralLoadGroup >::ptr > v8_LoadedBy, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcStructuralResultGroup >::ptr > v9_HasResults, ::Ifc4x3_add2::IfcObjectPlacement* v10_SharedPlacement) : IfcSystem(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, v7_OrientationOf2DPlane ? v7_OrientationOf2DPlane->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LoadedBy) {set_attribute_value(7, (*v8_LoadedBy)->generalize()); } if (v9_HasResults) {set_attribute_value(8, (*v9_HasResults)->generalize()); }set_attribute_value(9, v10_SharedPlacement ? v10_SharedPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralAnalysisModel::IfcStructuralAnalysisModel(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcAxis2Placement3D* v7_OrientationOf2DPlane, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcStructuralLoadGroup >::ptr > v8_LoadedBy, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcStructuralResultGroup >::ptr > v9_HasResults, ::Ifc4x3_add2::IfcObjectPlacement* v10_SharedPlacement) : IfcSystem(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, v7_OrientationOf2DPlane ? v7_OrientationOf2DPlane->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_LoadedBy) {set_attribute_value(7, (*v8_LoadedBy)->generalize()); } if (v9_HasResults) {set_attribute_value(8, (*v9_HasResults)->generalize()); }set_attribute_value(9, v10_SharedPlacement ? v10_SharedPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralConnection ::Ifc4x3_add2::IfcBoundaryCondition* Ifc4x3_add2::IfcStructuralConnection::AppliedCondition() const { if(data_.get_attribute_value(7).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(7)))->as<::Ifc4x3_add2::IfcBoundaryCondition>(true); } @@ -16155,7 +16155,7 @@ void Ifc4x3_add2::IfcStructuralConnection::setAppliedCondition(::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcStructuralConnection::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1079]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1079]); } Ifc4x3_add2::IfcStructuralConnection::IfcStructuralConnection(IfcEntityInstanceData&& e) : IfcStructuralItem(std::move(e)) { } -Ifc4x3_add2::IfcStructuralConnection::IfcStructuralConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition) : IfcStructuralItem(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralConnection::IfcStructuralConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition) : IfcStructuralItem(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralConnectionCondition boost::optional< std::string > Ifc4x3_add2::IfcStructuralConnectionCondition::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -16165,7 +16165,7 @@ void Ifc4x3_add2::IfcStructuralConnectionCondition::setName(boost::optional< std const IfcParse::entity& Ifc4x3_add2::IfcStructuralConnectionCondition::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1080]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1080]); } Ifc4x3_add2::IfcStructuralConnectionCondition::IfcStructuralConnectionCondition(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcStructuralConnectionCondition::IfcStructuralConnectionCondition(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } +Ifc4x3_add2::IfcStructuralConnectionCondition::IfcStructuralConnectionCondition(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; populate_derived(); } // Function implementations for IfcStructuralCurveAction boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_add2::IfcStructuralCurveAction::ProjectedOrTrue() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::FromString(data_.get_attribute_value(10)); } @@ -16177,7 +16177,7 @@ void Ifc4x3_add2::IfcStructuralCurveAction::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveAction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1081]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1081]); } Ifc4x3_add2::IfcStructuralCurveAction::IfcStructuralCurveAction(IfcEntityInstanceData&& e) : IfcStructuralAction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralCurveAction::IfcStructuralCurveAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcStructuralCurveAction::IfcStructuralCurveAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcStructuralCurveConnection::AxisDirection() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(8)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -16187,7 +16187,7 @@ void Ifc4x3_add2::IfcStructuralCurveConnection::setAxisDirection(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveConnection::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1083]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1083]); } Ifc4x3_add2::IfcStructuralCurveConnection::IfcStructuralCurveConnection(IfcEntityInstanceData&& e) : IfcStructuralConnection(std::move(e)) { } -Ifc4x3_add2::IfcStructuralCurveConnection::IfcStructuralCurveConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition, ::Ifc4x3_add2::IfcDirection* v9_AxisDirection) : IfcStructuralConnection(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_AxisDirection ? v9_AxisDirection->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralCurveConnection::IfcStructuralCurveConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition, ::Ifc4x3_add2::IfcDirection* v9_AxisDirection) : IfcStructuralConnection(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_AxisDirection ? v9_AxisDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_add2::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::FromString(data_.get_attribute_value(7)); } @@ -16199,7 +16199,7 @@ void Ifc4x3_add2::IfcStructuralCurveMember::setAxis(::Ifc4x3_add2::IfcDirection* const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveMember::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1084]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1084]); } Ifc4x3_add2::IfcStructuralCurveMember::IfcStructuralCurveMember(IfcEntityInstanceData&& e) : IfcStructuralMember(std::move(e)) { } -Ifc4x3_add2::IfcStructuralCurveMember::IfcStructuralCurveMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add2::IfcDirection* v9_Axis) : IfcStructuralMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, v9_Axis ? v9_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralCurveMember::IfcStructuralCurveMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add2::IfcDirection* v9_Axis) : IfcStructuralMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, v9_Axis ? v9_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralCurveMemberVarying @@ -16207,7 +16207,7 @@ Ifc4x3_add2::IfcStructuralCurveMember::IfcStructuralCurveMember(std::string v1_G const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveMemberVarying::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1086]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1086]); } Ifc4x3_add2::IfcStructuralCurveMemberVarying::IfcStructuralCurveMemberVarying(IfcEntityInstanceData&& e) : IfcStructuralCurveMember(std::move(e)) { } -Ifc4x3_add2::IfcStructuralCurveMemberVarying::IfcStructuralCurveMemberVarying(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add2::IfcDirection* v9_Axis) : IfcStructuralCurveMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, v9_Axis ? v9_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralCurveMemberVarying::IfcStructuralCurveMemberVarying(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add2::IfcDirection* v9_Axis) : IfcStructuralCurveMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, v9_Axis ? v9_Axis->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_add2::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16217,7 +16217,7 @@ void Ifc4x3_add2::IfcStructuralCurveReaction::setPredefinedType(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveReaction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1087]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1087]); } Ifc4x3_add2::IfcStructuralCurveReaction::IfcStructuralCurveReaction(IfcEntityInstanceData&& e) : IfcStructuralReaction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralCurveReaction::IfcStructuralCurveReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) : IfcStructuralReaction(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcStructuralCurveReaction::IfcStructuralCurveReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) : IfcStructuralReaction(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcStructuralItem @@ -16226,7 +16226,7 @@ Ifc4x3_add2::IfcStructuralCurveReaction::IfcStructuralCurveReaction(std::string const IfcParse::entity& Ifc4x3_add2::IfcStructuralItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1088]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1088]); } Ifc4x3_add2::IfcStructuralItem::IfcStructuralItem(IfcEntityInstanceData&& e) : IfcProduct(std::move(e)) { } -Ifc4x3_add2::IfcStructuralItem::IfcStructuralItem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralItem::IfcStructuralItem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcProduct(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralLinearAction @@ -16234,7 +16234,7 @@ Ifc4x3_add2::IfcStructuralItem::IfcStructuralItem(std::string v1_GlobalId, ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcStructuralLinearAction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1089]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1089]); } Ifc4x3_add2::IfcStructuralLinearAction::IfcStructuralLinearAction(IfcEntityInstanceData&& e) : IfcStructuralCurveAction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLinearAction::IfcStructuralLinearAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralCurveAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcStructuralLinearAction::IfcStructuralLinearAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralCurveAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcStructuralLoad boost::optional< std::string > Ifc4x3_add2::IfcStructuralLoad::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -16244,7 +16244,7 @@ void Ifc4x3_add2::IfcStructuralLoad::setName(boost::optional< std::string > v) { const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoad::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1090]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1090]); } Ifc4x3_add2::IfcStructuralLoad::IfcStructuralLoad(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoad::IfcStructuralLoad(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } +Ifc4x3_add2::IfcStructuralLoad::IfcStructuralLoad(boost::optional< std::string > v1_Name) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; populate_derived(); } // Function implementations for IfcStructuralLoadCase boost::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_add2::IfcStructuralLoadCase::SelfWeightCoefficients() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } std::vector< double > /*[3:3]*/ v = data_.get_attribute_value(10); return v; } @@ -16254,7 +16254,7 @@ void Ifc4x3_add2::IfcStructuralLoadCase::setSelfWeightCoefficients(boost::option const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadCase::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1091]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1091]); } Ifc4x3_add2::IfcStructuralLoadCase::IfcStructuralLoadCase(IfcEntityInstanceData&& e) : IfcStructuralLoadGroup(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadCase::IfcStructuralLoadCase(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, boost::optional< double > v9_Coefficient, boost::optional< std::string > v10_Purpose, boost::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) : IfcStructuralLoadGroup(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } if (v11_SelfWeightCoefficients) {set_attribute_value(10, (*v11_SelfWeightCoefficients)); } } +Ifc4x3_add2::IfcStructuralLoadCase::IfcStructuralLoadCase(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, boost::optional< double > v9_Coefficient, boost::optional< std::string > v10_Purpose, boost::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) : IfcStructuralLoadGroup(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } if (v11_SelfWeightCoefficients) {set_attribute_value(10, (*v11_SelfWeightCoefficients)); }; populate_derived(); } // Function implementations for IfcStructuralLoadConfiguration aggregate_of< ::Ifc4x3_add2::IfcStructuralLoadOrResult >::ptr Ifc4x3_add2::IfcStructuralLoadConfiguration::Values() const { aggregate_of_instance::ptr es = data_.get_attribute_value(1); return es->as< ::Ifc4x3_add2::IfcStructuralLoadOrResult >(); } @@ -16266,7 +16266,7 @@ void Ifc4x3_add2::IfcStructuralLoadConfiguration::setLocations(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadConfiguration::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1092]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1092]); } Ifc4x3_add2::IfcStructuralLoadConfiguration::IfcStructuralLoadConfiguration(IfcEntityInstanceData&& e) : IfcStructuralLoad(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadConfiguration::IfcStructuralLoadConfiguration(boost::optional< std::string > v1_Name, aggregate_of< ::Ifc4x3_add2::IfcStructuralLoadOrResult >::ptr v2_Values, boost::optional< std::vector< std::vector< double > > > v3_Locations) : IfcStructuralLoad(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_Values)->generalize()); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } +Ifc4x3_add2::IfcStructuralLoadConfiguration::IfcStructuralLoadConfiguration(boost::optional< std::string > v1_Name, aggregate_of< ::Ifc4x3_add2::IfcStructuralLoadOrResult >::ptr v2_Values, boost::optional< std::vector< std::vector< double > > > v3_Locations) : IfcStructuralLoad(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_Values)->generalize()); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); }; populate_derived(); } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value Ifc4x3_add2::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_add2::IfcLoadGroupTypeEnum::FromString(data_.get_attribute_value(5)); } @@ -16286,7 +16286,7 @@ void Ifc4x3_add2::IfcStructuralLoadGroup::setPurpose(boost::optional< std::strin const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadGroup::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1093]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1093]); } Ifc4x3_add2::IfcStructuralLoadGroup::IfcStructuralLoadGroup(IfcEntityInstanceData&& e) : IfcGroup(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadGroup::IfcStructuralLoadGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, boost::optional< double > v9_Coefficient, boost::optional< std::string > v10_Purpose) : IfcGroup(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +Ifc4x3_add2::IfcStructuralLoadGroup::IfcStructuralLoadGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, boost::optional< double > v9_Coefficient, boost::optional< std::string > v10_Purpose) : IfcGroup(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); }; populate_derived(); } // Function implementations for IfcStructuralLoadLinearForce boost::optional< double > Ifc4x3_add2::IfcStructuralLoadLinearForce::LinearForceX() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } double v = data_.get_attribute_value(1); return v; } @@ -16306,7 +16306,7 @@ void Ifc4x3_add2::IfcStructuralLoadLinearForce::setLinearMomentZ(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadLinearForce::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1094]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1094]); } Ifc4x3_add2::IfcStructuralLoadLinearForce::IfcStructuralLoadLinearForce(IfcEntityInstanceData&& e) : IfcStructuralLoadStatic(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadLinearForce::IfcStructuralLoadLinearForce(boost::optional< std::string > v1_Name, boost::optional< double > v2_LinearForceX, boost::optional< double > v3_LinearForceY, boost::optional< double > v4_LinearForceZ, boost::optional< double > v5_LinearMomentX, boost::optional< double > v6_LinearMomentY, boost::optional< double > v7_LinearMomentZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_LinearForceX) {set_attribute_value(1, (*v2_LinearForceX)); } if (v3_LinearForceY) {set_attribute_value(2, (*v3_LinearForceY)); } if (v4_LinearForceZ) {set_attribute_value(3, (*v4_LinearForceZ)); } if (v5_LinearMomentX) {set_attribute_value(4, (*v5_LinearMomentX)); } if (v6_LinearMomentY) {set_attribute_value(5, (*v6_LinearMomentY)); } if (v7_LinearMomentZ) {set_attribute_value(6, (*v7_LinearMomentZ)); } } +Ifc4x3_add2::IfcStructuralLoadLinearForce::IfcStructuralLoadLinearForce(boost::optional< std::string > v1_Name, boost::optional< double > v2_LinearForceX, boost::optional< double > v3_LinearForceY, boost::optional< double > v4_LinearForceZ, boost::optional< double > v5_LinearMomentX, boost::optional< double > v6_LinearMomentY, boost::optional< double > v7_LinearMomentZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_LinearForceX) {set_attribute_value(1, (*v2_LinearForceX)); } if (v3_LinearForceY) {set_attribute_value(2, (*v3_LinearForceY)); } if (v4_LinearForceZ) {set_attribute_value(3, (*v4_LinearForceZ)); } if (v5_LinearMomentX) {set_attribute_value(4, (*v5_LinearMomentX)); } if (v6_LinearMomentY) {set_attribute_value(5, (*v6_LinearMomentY)); } if (v7_LinearMomentZ) {set_attribute_value(6, (*v7_LinearMomentZ)); }; populate_derived(); } // Function implementations for IfcStructuralLoadOrResult @@ -16314,7 +16314,7 @@ Ifc4x3_add2::IfcStructuralLoadLinearForce::IfcStructuralLoadLinearForce(boost::o const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadOrResult::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1095]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1095]); } Ifc4x3_add2::IfcStructuralLoadOrResult::IfcStructuralLoadOrResult(IfcEntityInstanceData&& e) : IfcStructuralLoad(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadOrResult::IfcStructuralLoadOrResult(boost::optional< std::string > v1_Name) : IfcStructuralLoad(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } +Ifc4x3_add2::IfcStructuralLoadOrResult::IfcStructuralLoadOrResult(boost::optional< std::string > v1_Name) : IfcStructuralLoad(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; populate_derived(); } // Function implementations for IfcStructuralLoadPlanarForce boost::optional< double > Ifc4x3_add2::IfcStructuralLoadPlanarForce::PlanarForceX() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } double v = data_.get_attribute_value(1); return v; } @@ -16328,7 +16328,7 @@ void Ifc4x3_add2::IfcStructuralLoadPlanarForce::setPlanarForceZ(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadPlanarForce::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1096]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1096]); } Ifc4x3_add2::IfcStructuralLoadPlanarForce::IfcStructuralLoadPlanarForce(IfcEntityInstanceData&& e) : IfcStructuralLoadStatic(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadPlanarForce::IfcStructuralLoadPlanarForce(boost::optional< std::string > v1_Name, boost::optional< double > v2_PlanarForceX, boost::optional< double > v3_PlanarForceY, boost::optional< double > v4_PlanarForceZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_PlanarForceX) {set_attribute_value(1, (*v2_PlanarForceX)); } if (v3_PlanarForceY) {set_attribute_value(2, (*v3_PlanarForceY)); } if (v4_PlanarForceZ) {set_attribute_value(3, (*v4_PlanarForceZ)); } } +Ifc4x3_add2::IfcStructuralLoadPlanarForce::IfcStructuralLoadPlanarForce(boost::optional< std::string > v1_Name, boost::optional< double > v2_PlanarForceX, boost::optional< double > v3_PlanarForceY, boost::optional< double > v4_PlanarForceZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_PlanarForceX) {set_attribute_value(1, (*v2_PlanarForceX)); } if (v3_PlanarForceY) {set_attribute_value(2, (*v3_PlanarForceY)); } if (v4_PlanarForceZ) {set_attribute_value(3, (*v4_PlanarForceZ)); }; populate_derived(); } // Function implementations for IfcStructuralLoadSingleDisplacement boost::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::DisplacementX() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } double v = data_.get_attribute_value(1); return v; } @@ -16348,7 +16348,7 @@ void Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::setRotationalDisplacement const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1097]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1097]); } Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::IfcStructuralLoadSingleDisplacement(IfcEntityInstanceData&& e) : IfcStructuralLoadStatic(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::IfcStructuralLoadSingleDisplacement(boost::optional< std::string > v1_Name, boost::optional< double > v2_DisplacementX, boost::optional< double > v3_DisplacementY, boost::optional< double > v4_DisplacementZ, boost::optional< double > v5_RotationalDisplacementRX, boost::optional< double > v6_RotationalDisplacementRY, boost::optional< double > v7_RotationalDisplacementRZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DisplacementX) {set_attribute_value(1, (*v2_DisplacementX)); } if (v3_DisplacementY) {set_attribute_value(2, (*v3_DisplacementY)); } if (v4_DisplacementZ) {set_attribute_value(3, (*v4_DisplacementZ)); } if (v5_RotationalDisplacementRX) {set_attribute_value(4, (*v5_RotationalDisplacementRX)); } if (v6_RotationalDisplacementRY) {set_attribute_value(5, (*v6_RotationalDisplacementRY)); } if (v7_RotationalDisplacementRZ) {set_attribute_value(6, (*v7_RotationalDisplacementRZ)); } } +Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::IfcStructuralLoadSingleDisplacement(boost::optional< std::string > v1_Name, boost::optional< double > v2_DisplacementX, boost::optional< double > v3_DisplacementY, boost::optional< double > v4_DisplacementZ, boost::optional< double > v5_RotationalDisplacementRX, boost::optional< double > v6_RotationalDisplacementRY, boost::optional< double > v7_RotationalDisplacementRZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DisplacementX) {set_attribute_value(1, (*v2_DisplacementX)); } if (v3_DisplacementY) {set_attribute_value(2, (*v3_DisplacementY)); } if (v4_DisplacementZ) {set_attribute_value(3, (*v4_DisplacementZ)); } if (v5_RotationalDisplacementRX) {set_attribute_value(4, (*v5_RotationalDisplacementRX)); } if (v6_RotationalDisplacementRY) {set_attribute_value(5, (*v6_RotationalDisplacementRY)); } if (v7_RotationalDisplacementRZ) {set_attribute_value(6, (*v7_RotationalDisplacementRZ)); }; populate_derived(); } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion boost::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::Distortion() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } double v = data_.get_attribute_value(7); return v; } @@ -16358,7 +16358,7 @@ void Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(b const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1098]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1098]); } Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::IfcStructuralLoadSingleDisplacementDistortion(IfcEntityInstanceData&& e) : IfcStructuralLoadSingleDisplacement(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::IfcStructuralLoadSingleDisplacementDistortion(boost::optional< std::string > v1_Name, boost::optional< double > v2_DisplacementX, boost::optional< double > v3_DisplacementY, boost::optional< double > v4_DisplacementZ, boost::optional< double > v5_RotationalDisplacementRX, boost::optional< double > v6_RotationalDisplacementRY, boost::optional< double > v7_RotationalDisplacementRZ, boost::optional< double > v8_Distortion) : IfcStructuralLoadSingleDisplacement(IfcEntityInstanceData(storage_t(8))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DisplacementX) {set_attribute_value(1, (*v2_DisplacementX)); } if (v3_DisplacementY) {set_attribute_value(2, (*v3_DisplacementY)); } if (v4_DisplacementZ) {set_attribute_value(3, (*v4_DisplacementZ)); } if (v5_RotationalDisplacementRX) {set_attribute_value(4, (*v5_RotationalDisplacementRX)); } if (v6_RotationalDisplacementRY) {set_attribute_value(5, (*v6_RotationalDisplacementRY)); } if (v7_RotationalDisplacementRZ) {set_attribute_value(6, (*v7_RotationalDisplacementRZ)); } if (v8_Distortion) {set_attribute_value(7, (*v8_Distortion)); } } +Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::IfcStructuralLoadSingleDisplacementDistortion(boost::optional< std::string > v1_Name, boost::optional< double > v2_DisplacementX, boost::optional< double > v3_DisplacementY, boost::optional< double > v4_DisplacementZ, boost::optional< double > v5_RotationalDisplacementRX, boost::optional< double > v6_RotationalDisplacementRY, boost::optional< double > v7_RotationalDisplacementRZ, boost::optional< double > v8_Distortion) : IfcStructuralLoadSingleDisplacement(IfcEntityInstanceData(storage_t(8))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DisplacementX) {set_attribute_value(1, (*v2_DisplacementX)); } if (v3_DisplacementY) {set_attribute_value(2, (*v3_DisplacementY)); } if (v4_DisplacementZ) {set_attribute_value(3, (*v4_DisplacementZ)); } if (v5_RotationalDisplacementRX) {set_attribute_value(4, (*v5_RotationalDisplacementRX)); } if (v6_RotationalDisplacementRY) {set_attribute_value(5, (*v6_RotationalDisplacementRY)); } if (v7_RotationalDisplacementRZ) {set_attribute_value(6, (*v7_RotationalDisplacementRZ)); } if (v8_Distortion) {set_attribute_value(7, (*v8_Distortion)); }; populate_derived(); } // Function implementations for IfcStructuralLoadSingleForce boost::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleForce::ForceX() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } double v = data_.get_attribute_value(1); return v; } @@ -16378,7 +16378,7 @@ void Ifc4x3_add2::IfcStructuralLoadSingleForce::setMomentZ(boost::optional< doub const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleForce::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1099]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1099]); } Ifc4x3_add2::IfcStructuralLoadSingleForce::IfcStructuralLoadSingleForce(IfcEntityInstanceData&& e) : IfcStructuralLoadStatic(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadSingleForce::IfcStructuralLoadSingleForce(boost::optional< std::string > v1_Name, boost::optional< double > v2_ForceX, boost::optional< double > v3_ForceY, boost::optional< double > v4_ForceZ, boost::optional< double > v5_MomentX, boost::optional< double > v6_MomentY, boost::optional< double > v7_MomentZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_ForceX) {set_attribute_value(1, (*v2_ForceX)); } if (v3_ForceY) {set_attribute_value(2, (*v3_ForceY)); } if (v4_ForceZ) {set_attribute_value(3, (*v4_ForceZ)); } if (v5_MomentX) {set_attribute_value(4, (*v5_MomentX)); } if (v6_MomentY) {set_attribute_value(5, (*v6_MomentY)); } if (v7_MomentZ) {set_attribute_value(6, (*v7_MomentZ)); } } +Ifc4x3_add2::IfcStructuralLoadSingleForce::IfcStructuralLoadSingleForce(boost::optional< std::string > v1_Name, boost::optional< double > v2_ForceX, boost::optional< double > v3_ForceY, boost::optional< double > v4_ForceZ, boost::optional< double > v5_MomentX, boost::optional< double > v6_MomentY, boost::optional< double > v7_MomentZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(7))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_ForceX) {set_attribute_value(1, (*v2_ForceX)); } if (v3_ForceY) {set_attribute_value(2, (*v3_ForceY)); } if (v4_ForceZ) {set_attribute_value(3, (*v4_ForceZ)); } if (v5_MomentX) {set_attribute_value(4, (*v5_MomentX)); } if (v6_MomentY) {set_attribute_value(5, (*v6_MomentY)); } if (v7_MomentZ) {set_attribute_value(6, (*v7_MomentZ)); }; populate_derived(); } // Function implementations for IfcStructuralLoadSingleForceWarping boost::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::WarpingMoment() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } double v = data_.get_attribute_value(7); return v; } @@ -16388,7 +16388,7 @@ void Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::setWarpingMoment(boost::o const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1100]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1100]); } Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::IfcStructuralLoadSingleForceWarping(IfcEntityInstanceData&& e) : IfcStructuralLoadSingleForce(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::IfcStructuralLoadSingleForceWarping(boost::optional< std::string > v1_Name, boost::optional< double > v2_ForceX, boost::optional< double > v3_ForceY, boost::optional< double > v4_ForceZ, boost::optional< double > v5_MomentX, boost::optional< double > v6_MomentY, boost::optional< double > v7_MomentZ, boost::optional< double > v8_WarpingMoment) : IfcStructuralLoadSingleForce(IfcEntityInstanceData(storage_t(8))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_ForceX) {set_attribute_value(1, (*v2_ForceX)); } if (v3_ForceY) {set_attribute_value(2, (*v3_ForceY)); } if (v4_ForceZ) {set_attribute_value(3, (*v4_ForceZ)); } if (v5_MomentX) {set_attribute_value(4, (*v5_MomentX)); } if (v6_MomentY) {set_attribute_value(5, (*v6_MomentY)); } if (v7_MomentZ) {set_attribute_value(6, (*v7_MomentZ)); } if (v8_WarpingMoment) {set_attribute_value(7, (*v8_WarpingMoment)); } } +Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::IfcStructuralLoadSingleForceWarping(boost::optional< std::string > v1_Name, boost::optional< double > v2_ForceX, boost::optional< double > v3_ForceY, boost::optional< double > v4_ForceZ, boost::optional< double > v5_MomentX, boost::optional< double > v6_MomentY, boost::optional< double > v7_MomentZ, boost::optional< double > v8_WarpingMoment) : IfcStructuralLoadSingleForce(IfcEntityInstanceData(storage_t(8))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_ForceX) {set_attribute_value(1, (*v2_ForceX)); } if (v3_ForceY) {set_attribute_value(2, (*v3_ForceY)); } if (v4_ForceZ) {set_attribute_value(3, (*v4_ForceZ)); } if (v5_MomentX) {set_attribute_value(4, (*v5_MomentX)); } if (v6_MomentY) {set_attribute_value(5, (*v6_MomentY)); } if (v7_MomentZ) {set_attribute_value(6, (*v7_MomentZ)); } if (v8_WarpingMoment) {set_attribute_value(7, (*v8_WarpingMoment)); }; populate_derived(); } // Function implementations for IfcStructuralLoadStatic @@ -16396,7 +16396,7 @@ Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::IfcStructuralLoadSingleForceWa const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadStatic::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1101]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1101]); } Ifc4x3_add2::IfcStructuralLoadStatic::IfcStructuralLoadStatic(IfcEntityInstanceData&& e) : IfcStructuralLoadOrResult(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadStatic::IfcStructuralLoadStatic(boost::optional< std::string > v1_Name) : IfcStructuralLoadOrResult(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } +Ifc4x3_add2::IfcStructuralLoadStatic::IfcStructuralLoadStatic(boost::optional< std::string > v1_Name) : IfcStructuralLoadOrResult(IfcEntityInstanceData(storage_t(1))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; populate_derived(); } // Function implementations for IfcStructuralLoadTemperature boost::optional< double > Ifc4x3_add2::IfcStructuralLoadTemperature::DeltaTConstant() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } double v = data_.get_attribute_value(1); return v; } @@ -16410,7 +16410,7 @@ void Ifc4x3_add2::IfcStructuralLoadTemperature::setDeltaTZ(boost::optional< doub const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadTemperature::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1102]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1102]); } Ifc4x3_add2::IfcStructuralLoadTemperature::IfcStructuralLoadTemperature(IfcEntityInstanceData&& e) : IfcStructuralLoadStatic(std::move(e)) { } -Ifc4x3_add2::IfcStructuralLoadTemperature::IfcStructuralLoadTemperature(boost::optional< std::string > v1_Name, boost::optional< double > v2_DeltaTConstant, boost::optional< double > v3_DeltaTY, boost::optional< double > v4_DeltaTZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DeltaTConstant) {set_attribute_value(1, (*v2_DeltaTConstant)); } if (v3_DeltaTY) {set_attribute_value(2, (*v3_DeltaTY)); } if (v4_DeltaTZ) {set_attribute_value(3, (*v4_DeltaTZ)); } } +Ifc4x3_add2::IfcStructuralLoadTemperature::IfcStructuralLoadTemperature(boost::optional< std::string > v1_Name, boost::optional< double > v2_DeltaTConstant, boost::optional< double > v3_DeltaTY, boost::optional< double > v4_DeltaTZ) : IfcStructuralLoadStatic(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DeltaTConstant) {set_attribute_value(1, (*v2_DeltaTConstant)); } if (v3_DeltaTY) {set_attribute_value(2, (*v3_DeltaTY)); } if (v4_DeltaTZ) {set_attribute_value(3, (*v4_DeltaTZ)); }; populate_derived(); } // Function implementations for IfcStructuralMember @@ -16419,7 +16419,7 @@ Ifc4x3_add2::IfcStructuralLoadTemperature::IfcStructuralLoadTemperature(boost::o const IfcParse::entity& Ifc4x3_add2::IfcStructuralMember::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1103]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1103]); } Ifc4x3_add2::IfcStructuralMember::IfcStructuralMember(IfcEntityInstanceData&& e) : IfcStructuralItem(std::move(e)) { } -Ifc4x3_add2::IfcStructuralMember::IfcStructuralMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcStructuralItem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralMember::IfcStructuralMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation) : IfcStructuralItem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralPlanarAction @@ -16427,7 +16427,7 @@ Ifc4x3_add2::IfcStructuralMember::IfcStructuralMember(std::string v1_GlobalId, : const IfcParse::entity& Ifc4x3_add2::IfcStructuralPlanarAction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1104]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1104]); } Ifc4x3_add2::IfcStructuralPlanarAction::IfcStructuralPlanarAction(IfcEntityInstanceData&& e) : IfcStructuralSurfaceAction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralPlanarAction::IfcStructuralPlanarAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralSurfaceAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcStructuralPlanarAction::IfcStructuralPlanarAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralSurfaceAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcStructuralPointAction @@ -16435,7 +16435,7 @@ Ifc4x3_add2::IfcStructuralPlanarAction::IfcStructuralPlanarAction(std::string v1 const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointAction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1105]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1105]); } Ifc4x3_add2::IfcStructuralPointAction::IfcStructuralPointAction(IfcEntityInstanceData&& e) : IfcStructuralAction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralPointAction::IfcStructuralPointAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad) : IfcStructuralAction(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +Ifc4x3_add2::IfcStructuralPointAction::IfcStructuralPointAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad) : IfcStructuralAction(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); }; populate_derived(); } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_add2::IfcAxis2Placement3D* Ifc4x3_add2::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(data_.get_attribute_value(8).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(8)))->as<::Ifc4x3_add2::IfcAxis2Placement3D>(true); } @@ -16445,7 +16445,7 @@ void Ifc4x3_add2::IfcStructuralPointConnection::setConditionCoordinateSystem(::I const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointConnection::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1106]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1106]); } Ifc4x3_add2::IfcStructuralPointConnection::IfcStructuralPointConnection(IfcEntityInstanceData&& e) : IfcStructuralConnection(std::move(e)) { } -Ifc4x3_add2::IfcStructuralPointConnection::IfcStructuralPointConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition, ::Ifc4x3_add2::IfcAxis2Placement3D* v9_ConditionCoordinateSystem) : IfcStructuralConnection(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_ConditionCoordinateSystem ? v9_ConditionCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralPointConnection::IfcStructuralPointConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition, ::Ifc4x3_add2::IfcAxis2Placement3D* v9_ConditionCoordinateSystem) : IfcStructuralConnection(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, v9_ConditionCoordinateSystem ? v9_ConditionCoordinateSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralPointReaction @@ -16453,7 +16453,7 @@ Ifc4x3_add2::IfcStructuralPointConnection::IfcStructuralPointConnection(std::str const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointReaction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1107]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1107]); } Ifc4x3_add2::IfcStructuralPointReaction::IfcStructuralPointReaction(IfcEntityInstanceData&& e) : IfcStructuralReaction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralPointReaction::IfcStructuralPointReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) : IfcStructuralReaction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +Ifc4x3_add2::IfcStructuralPointReaction::IfcStructuralPointReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) : IfcStructuralReaction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));; populate_derived(); } // Function implementations for IfcStructuralReaction @@ -16461,7 +16461,7 @@ Ifc4x3_add2::IfcStructuralPointReaction::IfcStructuralPointReaction(std::string const IfcParse::entity& Ifc4x3_add2::IfcStructuralReaction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1108]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1108]); } Ifc4x3_add2::IfcStructuralReaction::IfcStructuralReaction(IfcEntityInstanceData&& e) : IfcStructuralActivity(std::move(e)) { } -Ifc4x3_add2::IfcStructuralReaction::IfcStructuralReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) : IfcStructuralActivity(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +Ifc4x3_add2::IfcStructuralReaction::IfcStructuralReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) : IfcStructuralActivity(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));; populate_derived(); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_add2::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::FromString(data_.get_attribute_value(5)); } @@ -16476,7 +16476,7 @@ void Ifc4x3_add2::IfcStructuralResultGroup::setIsLinear(bool v) { set_attribute_ const IfcParse::entity& Ifc4x3_add2::IfcStructuralResultGroup::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1109]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1109]); } Ifc4x3_add2::IfcStructuralResultGroup::IfcStructuralResultGroup(IfcEntityInstanceData&& e) : IfcGroup(std::move(e)) { } -Ifc4x3_add2::IfcStructuralResultGroup::IfcStructuralResultGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add2::IfcStructuralLoadGroup* v7_ResultForLoadGroup, bool v8_IsLinear) : IfcGroup(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, v7_ResultForLoadGroup ? v7_ResultForLoadGroup->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_IsLinear)); } +Ifc4x3_add2::IfcStructuralResultGroup::IfcStructuralResultGroup(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add2::IfcStructuralLoadGroup* v7_ResultForLoadGroup, bool v8_IsLinear) : IfcGroup(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, v7_ResultForLoadGroup ? v7_ResultForLoadGroup->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (v8_IsLinear));; populate_derived(); } // Function implementations for IfcStructuralSurfaceAction boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_add2::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::FromString(data_.get_attribute_value(10)); } @@ -16488,7 +16488,7 @@ void Ifc4x3_add2::IfcStructuralSurfaceAction::setPredefinedType(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceAction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1110]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1110]); } Ifc4x3_add2::IfcStructuralSurfaceAction::IfcStructuralSurfaceAction(IfcEntityInstanceData&& e) : IfcStructuralAction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralSurfaceAction::IfcStructuralSurfaceAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcStructuralSurfaceAction::IfcStructuralSurfaceAction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, boost::optional< bool > v10_DestabilizingLoad, boost::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) : IfcStructuralAction(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcStructuralSurfaceConnection @@ -16496,7 +16496,7 @@ Ifc4x3_add2::IfcStructuralSurfaceAction::IfcStructuralSurfaceAction(std::string const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceConnection::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1112]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1112]); } Ifc4x3_add2::IfcStructuralSurfaceConnection::IfcStructuralSurfaceConnection(IfcEntityInstanceData&& e) : IfcStructuralConnection(std::move(e)) { } -Ifc4x3_add2::IfcStructuralSurfaceConnection::IfcStructuralSurfaceConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition) : IfcStructuralConnection(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcStructuralSurfaceConnection::IfcStructuralSurfaceConnection(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition* v8_AppliedCondition) : IfcStructuralConnection(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedCondition ? v8_AppliedCondition->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_add2::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::FromString(data_.get_attribute_value(7)); } @@ -16508,7 +16508,7 @@ void Ifc4x3_add2::IfcStructuralSurfaceMember::setThickness(boost::optional< doub const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceMember::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1113]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1113]); } Ifc4x3_add2::IfcStructuralSurfaceMember::IfcStructuralSurfaceMember(IfcEntityInstanceData&& e) : IfcStructuralMember(std::move(e)) { } -Ifc4x3_add2::IfcStructuralSurfaceMember::IfcStructuralSurfaceMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, boost::optional< double > v9_Thickness) : IfcStructuralMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +Ifc4x3_add2::IfcStructuralSurfaceMember::IfcStructuralSurfaceMember(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, boost::optional< double > v9_Thickness) : IfcStructuralMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); }; populate_derived(); } // Function implementations for IfcStructuralSurfaceMemberVarying @@ -16516,7 +16516,7 @@ Ifc4x3_add2::IfcStructuralSurfaceMember::IfcStructuralSurfaceMember(std::string const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1115]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1115]); } Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::IfcStructuralSurfaceMemberVarying(IfcEntityInstanceData&& e) : IfcStructuralSurfaceMember(std::move(e)) { } -Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::IfcStructuralSurfaceMemberVarying(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, boost::optional< double > v9_Thickness) : IfcStructuralSurfaceMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::IfcStructuralSurfaceMemberVarying(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, boost::optional< double > v9_Thickness) : IfcStructuralSurfaceMember(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); }; populate_derived(); } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_add2::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16526,7 +16526,7 @@ void Ifc4x3_add2::IfcStructuralSurfaceReaction::setPredefinedType(::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceReaction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1116]); } const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1116]); } Ifc4x3_add2::IfcStructuralSurfaceReaction::IfcStructuralSurfaceReaction(IfcEntityInstanceData&& e) : IfcStructuralReaction(std::move(e)) { } -Ifc4x3_add2::IfcStructuralSurfaceReaction::IfcStructuralSurfaceReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) : IfcStructuralReaction(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcStructuralSurfaceReaction::IfcStructuralSurfaceReaction(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, ::Ifc4x3_add2::IfcStructuralLoad* v8_AppliedLoad, ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) : IfcStructuralReaction(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_AppliedLoad ? v8_AppliedLoad->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcStyleModel @@ -16534,7 +16534,7 @@ Ifc4x3_add2::IfcStructuralSurfaceReaction::IfcStructuralSurfaceReaction(std::str const IfcParse::entity& Ifc4x3_add2::IfcStyleModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1119]); } const IfcParse::entity& Ifc4x3_add2::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1119]); } Ifc4x3_add2::IfcStyleModel::IfcStyleModel(IfcEntityInstanceData&& e) : IfcRepresentation(std::move(e)) { } -Ifc4x3_add2::IfcStyleModel::IfcStyleModel(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcRepresentation(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize()); } +Ifc4x3_add2::IfcStyleModel::IfcStyleModel(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcRepresentation(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize());; populate_derived(); } // Function implementations for IfcStyledItem ::Ifc4x3_add2::IfcRepresentationItem* Ifc4x3_add2::IfcStyledItem::Item() const { if(data_.get_attribute_value(0).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcRepresentationItem>(true); } @@ -16548,7 +16548,7 @@ void Ifc4x3_add2::IfcStyledItem::setName(boost::optional< std::string > v) { if const IfcParse::entity& Ifc4x3_add2::IfcStyledItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1117]); } const IfcParse::entity& Ifc4x3_add2::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1117]); } Ifc4x3_add2::IfcStyledItem::IfcStyledItem(IfcEntityInstanceData&& e) : IfcRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcStyledItem::IfcStyledItem(::Ifc4x3_add2::IfcRepresentationItem* v1_Item, aggregate_of< ::Ifc4x3_add2::IfcPresentationStyle >::ptr v2_Styles, boost::optional< std::string > v3_Name) : IfcRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Item ? v1_Item->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Styles)->generalize()); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } +Ifc4x3_add2::IfcStyledItem::IfcStyledItem(::Ifc4x3_add2::IfcRepresentationItem* v1_Item, aggregate_of< ::Ifc4x3_add2::IfcPresentationStyle >::ptr v2_Styles, boost::optional< std::string > v3_Name) : IfcRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Item ? v1_Item->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Styles)->generalize()); if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; populate_derived(); } // Function implementations for IfcStyledRepresentation @@ -16556,7 +16556,7 @@ Ifc4x3_add2::IfcStyledItem::IfcStyledItem(::Ifc4x3_add2::IfcRepresentationItem* const IfcParse::entity& Ifc4x3_add2::IfcStyledRepresentation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1118]); } const IfcParse::entity& Ifc4x3_add2::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1118]); } Ifc4x3_add2::IfcStyledRepresentation::IfcStyledRepresentation(IfcEntityInstanceData&& e) : IfcStyleModel(std::move(e)) { } -Ifc4x3_add2::IfcStyledRepresentation::IfcStyledRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcStyleModel(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize()); } +Ifc4x3_add2::IfcStyledRepresentation::IfcStyledRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcStyleModel(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize());; populate_derived(); } // Function implementations for IfcSubContractResource boost::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > Ifc4x3_add2::IfcSubContractResource::PredefinedType() const { if(data_.get_attribute_value(10).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::FromString(data_.get_attribute_value(10)); } @@ -16566,7 +16566,7 @@ void Ifc4x3_add2::IfcSubContractResource::setPredefinedType(boost::optional< ::I const IfcParse::entity& Ifc4x3_add2::IfcSubContractResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1120]); } const IfcParse::entity& Ifc4x3_add2::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1120]); } Ifc4x3_add2::IfcSubContractResource::IfcSubContractResource(IfcEntityInstanceData&& e) : IfcConstructionResource(std::move(e)) { } -Ifc4x3_add2::IfcSubContractResource::IfcSubContractResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +Ifc4x3_add2::IfcSubContractResource::IfcSubContractResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime* v8_Usage, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v10_BaseQuantity, boost::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) : IfcConstructionResource(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, v8_Usage ? v8_Usage->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v9_BaseCosts) {set_attribute_value(8, (*v9_BaseCosts)->generalize()); }set_attribute_value(9, v10_BaseQuantity ? v10_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSubContractResourceType ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value Ifc4x3_add2::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::FromString(data_.get_attribute_value(11)); } @@ -16576,7 +16576,7 @@ void Ifc4x3_add2::IfcSubContractResourceType::setPredefinedType(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcSubContractResourceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1121]); } const IfcParse::entity& Ifc4x3_add2::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1121]); } Ifc4x3_add2::IfcSubContractResourceType::IfcSubContractResourceType(IfcEntityInstanceData&& e) : IfcConstructionResourceType(std::move(e)) { } -Ifc4x3_add2::IfcSubContractResourceType::IfcSubContractResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +Ifc4x3_add2::IfcSubContractResourceType::IfcSubContractResourceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcAppliedValue >::ptr > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity* v11_BaseQuantity, ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) : IfcConstructionResourceType(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, (*v10_BaseCosts)->generalize()); }set_attribute_value(10, v11_BaseQuantity ? v11_BaseQuantity->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; populate_derived(); } // Function implementations for IfcSubedge ::Ifc4x3_add2::IfcEdge* Ifc4x3_add2::IfcSubedge::ParentEdge() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcEdge>(true); } @@ -16586,7 +16586,7 @@ void Ifc4x3_add2::IfcSubedge::setParentEdge(::Ifc4x3_add2::IfcEdge* v) { set_att const IfcParse::entity& Ifc4x3_add2::IfcSubedge::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1123]); } const IfcParse::entity& Ifc4x3_add2::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1123]); } Ifc4x3_add2::IfcSubedge::IfcSubedge(IfcEntityInstanceData&& e) : IfcEdge(std::move(e)) { } -Ifc4x3_add2::IfcSubedge::IfcSubedge(::Ifc4x3_add2::IfcVertex* v1_EdgeStart, ::Ifc4x3_add2::IfcVertex* v2_EdgeEnd, ::Ifc4x3_add2::IfcEdge* v3_ParentEdge) : IfcEdge(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_EdgeStart ? v1_EdgeStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_EdgeEnd ? v2_EdgeEnd->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ParentEdge ? v3_ParentEdge->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSubedge::IfcSubedge(::Ifc4x3_add2::IfcVertex* v1_EdgeStart, ::Ifc4x3_add2::IfcVertex* v2_EdgeEnd, ::Ifc4x3_add2::IfcEdge* v3_ParentEdge) : IfcEdge(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_EdgeStart ? v1_EdgeStart->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_EdgeEnd ? v2_EdgeEnd->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ParentEdge ? v3_ParentEdge->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSurface @@ -16594,7 +16594,7 @@ Ifc4x3_add2::IfcSubedge::IfcSubedge(::Ifc4x3_add2::IfcVertex* v1_EdgeStart, ::If const IfcParse::entity& Ifc4x3_add2::IfcSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1124]); } const IfcParse::entity& Ifc4x3_add2::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1124]); } Ifc4x3_add2::IfcSurface::IfcSurface(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSurface::IfcSurface() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcSurface::IfcSurface() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcSurfaceCurve ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcSurfaceCurve::Curve3D() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -16608,7 +16608,7 @@ void Ifc4x3_add2::IfcSurfaceCurve::setMasterRepresentation(::Ifc4x3_add2::IfcPre const IfcParse::entity& Ifc4x3_add2::IfcSurfaceCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1125]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1125]); } Ifc4x3_add2::IfcSurfaceCurve::IfcSurfaceCurve(IfcEntityInstanceData&& e) : IfcCurve(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceCurve::IfcSurfaceCurve(::Ifc4x3_add2::IfcCurve* v1_Curve3D, aggregate_of< ::Ifc4x3_add2::IfcPcurve >::ptr v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) : IfcCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Curve3D ? v1_Curve3D->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AssociatedGeometry)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +Ifc4x3_add2::IfcSurfaceCurve::IfcSurfaceCurve(::Ifc4x3_add2::IfcCurve* v1_Curve3D, aggregate_of< ::Ifc4x3_add2::IfcPcurve >::ptr v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) : IfcCurve(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Curve3D ? v1_Curve3D->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_AssociatedGeometry)->generalize());set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation)));; populate_derived(); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_add2::IfcSurface* Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(5)))->as<::Ifc4x3_add2::IfcSurface>(true); } @@ -16618,7 +16618,7 @@ void Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1126]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1126]); } Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::IfcSurfaceCurveSweptAreaSolid(IfcEntityInstanceData&& e) : IfcDirectrixCurveSweptAreaSolid(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::IfcSurfaceCurveSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam, ::Ifc4x3_add2::IfcSurface* v6_ReferenceSurface) : IfcDirectrixCurveSweptAreaSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_ReferenceSurface ? v6_ReferenceSurface->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::IfcSurfaceCurveSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcCurve* v3_Directrix, ::Ifc4x3_add2::IfcCurveMeasureSelect* v4_StartParam, ::Ifc4x3_add2::IfcCurveMeasureSelect* v5_EndParam, ::Ifc4x3_add2::IfcSurface* v6_ReferenceSurface) : IfcDirectrixCurveSweptAreaSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_Directrix ? v3_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_StartParam ? v4_StartParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_EndParam ? v5_EndParam->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_ReferenceSurface ? v6_ReferenceSurface->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSurfaceFeature boost::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_add2::IfcSurfaceFeature::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -16629,7 +16629,7 @@ void Ifc4x3_add2::IfcSurfaceFeature::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcSurfaceFeature::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1127]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1127]); } Ifc4x3_add2::IfcSurfaceFeature::IfcSurfaceFeature(IfcEntityInstanceData&& e) : IfcFeatureElement(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceFeature::IfcSurfaceFeature(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) : IfcFeatureElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSurfaceFeature::IfcSurfaceFeature(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) : IfcFeatureElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -16641,7 +16641,7 @@ void Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::setDepth(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1129]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1129]); } Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::IfcSurfaceOfLinearExtrusion(IfcEntityInstanceData&& e) : IfcSweptSurface(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::IfcSurfaceOfLinearExtrusion(::Ifc4x3_add2::IfcProfileDef* v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcDirection* v3_ExtrudedDirection, double v4_Depth) : IfcSweptSurface(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_SweptCurve ? v1_SweptCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ExtrudedDirection ? v3_ExtrudedDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth)); } +Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::IfcSurfaceOfLinearExtrusion(::Ifc4x3_add2::IfcProfileDef* v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcDirection* v3_ExtrudedDirection, double v4_Depth) : IfcSweptSurface(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_SweptCurve ? v1_SweptCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_ExtrudedDirection ? v3_ExtrudedDirection->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));; populate_derived(); } // Function implementations for IfcSurfaceOfRevolution ::Ifc4x3_add2::IfcAxis1Placement* Ifc4x3_add2::IfcSurfaceOfRevolution::AxisPosition() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcAxis1Placement>(true); } @@ -16651,7 +16651,7 @@ void Ifc4x3_add2::IfcSurfaceOfRevolution::setAxisPosition(::Ifc4x3_add2::IfcAxis const IfcParse::entity& Ifc4x3_add2::IfcSurfaceOfRevolution::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1130]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1130]); } Ifc4x3_add2::IfcSurfaceOfRevolution::IfcSurfaceOfRevolution(IfcEntityInstanceData&& e) : IfcSweptSurface(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceOfRevolution::IfcSurfaceOfRevolution(::Ifc4x3_add2::IfcProfileDef* v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcAxis1Placement* v3_AxisPosition) : IfcSweptSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_SweptCurve ? v1_SweptCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_AxisPosition ? v3_AxisPosition->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSurfaceOfRevolution::IfcSurfaceOfRevolution(::Ifc4x3_add2::IfcProfileDef* v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position, ::Ifc4x3_add2::IfcAxis1Placement* v3_AxisPosition) : IfcSweptSurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_SweptCurve ? v1_SweptCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_AxisPosition ? v3_AxisPosition->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSurfaceReinforcementArea boost::optional< std::vector< double > /*[2:3]*/ > Ifc4x3_add2::IfcSurfaceReinforcementArea::SurfaceReinforcement1() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } std::vector< double > /*[2:3]*/ v = data_.get_attribute_value(1); return v; } @@ -16665,7 +16665,7 @@ void Ifc4x3_add2::IfcSurfaceReinforcementArea::setShearReinforcement(boost::opti const IfcParse::entity& Ifc4x3_add2::IfcSurfaceReinforcementArea::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1132]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1132]); } Ifc4x3_add2::IfcSurfaceReinforcementArea::IfcSurfaceReinforcementArea(IfcEntityInstanceData&& e) : IfcStructuralLoadOrResult(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceReinforcementArea::IfcSurfaceReinforcementArea(boost::optional< std::string > v1_Name, boost::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, boost::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, boost::optional< double > v4_ShearReinforcement) : IfcStructuralLoadOrResult(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_SurfaceReinforcement1) {set_attribute_value(1, (*v2_SurfaceReinforcement1)); } if (v3_SurfaceReinforcement2) {set_attribute_value(2, (*v3_SurfaceReinforcement2)); } if (v4_ShearReinforcement) {set_attribute_value(3, (*v4_ShearReinforcement)); } } +Ifc4x3_add2::IfcSurfaceReinforcementArea::IfcSurfaceReinforcementArea(boost::optional< std::string > v1_Name, boost::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, boost::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, boost::optional< double > v4_ShearReinforcement) : IfcStructuralLoadOrResult(IfcEntityInstanceData(storage_t(4))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_SurfaceReinforcement1) {set_attribute_value(1, (*v2_SurfaceReinforcement1)); } if (v3_SurfaceReinforcement2) {set_attribute_value(2, (*v3_SurfaceReinforcement2)); } if (v4_ShearReinforcement) {set_attribute_value(3, (*v4_ShearReinforcement)); }; populate_derived(); } // Function implementations for IfcSurfaceStyle ::Ifc4x3_add2::IfcSurfaceSide::Value Ifc4x3_add2::IfcSurfaceStyle::Side() const { return ::Ifc4x3_add2::IfcSurfaceSide::FromString(data_.get_attribute_value(1)); } @@ -16677,7 +16677,7 @@ void Ifc4x3_add2::IfcSurfaceStyle::setStyles(aggregate_of< ::Ifc4x3_add2::IfcSur const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1134]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1134]); } Ifc4x3_add2::IfcSurfaceStyle::IfcSurfaceStyle(IfcEntityInstanceData&& e) : IfcPresentationStyle(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceStyle::IfcSurfaceStyle(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcSurfaceSide::Value v2_Side, aggregate_of< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect >::ptr v3_Styles) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, (v3_Styles)->generalize()); } +Ifc4x3_add2::IfcSurfaceStyle::IfcSurfaceStyle(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcSurfaceSide::Value v2_Side, aggregate_of< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect >::ptr v3_Styles) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, (v3_Styles)->generalize());; populate_derived(); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_add2::IfcColourRgb* Ifc4x3_add2::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcColourRgb>(true); } @@ -16693,7 +16693,7 @@ void Ifc4x3_add2::IfcSurfaceStyleLighting::setReflectanceColour(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleLighting::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1136]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1136]); } Ifc4x3_add2::IfcSurfaceStyleLighting::IfcSurfaceStyleLighting(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceStyleLighting::IfcSurfaceStyleLighting(::Ifc4x3_add2::IfcColourRgb* v1_DiffuseTransmissionColour, ::Ifc4x3_add2::IfcColourRgb* v2_DiffuseReflectionColour, ::Ifc4x3_add2::IfcColourRgb* v3_TransmissionColour, ::Ifc4x3_add2::IfcColourRgb* v4_ReflectanceColour) : IfcPresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_DiffuseTransmissionColour ? v1_DiffuseTransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_DiffuseReflectionColour ? v2_DiffuseReflectionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TransmissionColour ? v3_TransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_ReflectanceColour ? v4_ReflectanceColour->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSurfaceStyleLighting::IfcSurfaceStyleLighting(::Ifc4x3_add2::IfcColourRgb* v1_DiffuseTransmissionColour, ::Ifc4x3_add2::IfcColourRgb* v2_DiffuseReflectionColour, ::Ifc4x3_add2::IfcColourRgb* v3_TransmissionColour, ::Ifc4x3_add2::IfcColourRgb* v4_ReflectanceColour) : IfcPresentationItem(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_DiffuseTransmissionColour ? v1_DiffuseTransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_DiffuseReflectionColour ? v2_DiffuseReflectionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TransmissionColour ? v3_TransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_ReflectanceColour ? v4_ReflectanceColour->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSurfaceStyleRefraction boost::optional< double > Ifc4x3_add2::IfcSurfaceStyleRefraction::RefractionIndex() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } double v = data_.get_attribute_value(0); return v; } @@ -16705,7 +16705,7 @@ void Ifc4x3_add2::IfcSurfaceStyleRefraction::setDispersionFactor(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleRefraction::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1137]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1137]); } Ifc4x3_add2::IfcSurfaceStyleRefraction::IfcSurfaceStyleRefraction(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceStyleRefraction::IfcSurfaceStyleRefraction(boost::optional< double > v1_RefractionIndex, boost::optional< double > v2_DispersionFactor) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } +Ifc4x3_add2::IfcSurfaceStyleRefraction::IfcSurfaceStyleRefraction(boost::optional< double > v1_RefractionIndex, boost::optional< double > v2_DispersionFactor) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); }; populate_derived(); } // Function implementations for IfcSurfaceStyleRendering ::Ifc4x3_add2::IfcColourOrFactor* Ifc4x3_add2::IfcSurfaceStyleRendering::DiffuseColour() const { if(data_.get_attribute_value(2).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(2)))->as<::Ifc4x3_add2::IfcColourOrFactor>(true); } @@ -16727,7 +16727,7 @@ void Ifc4x3_add2::IfcSurfaceStyleRendering::setReflectanceMethod(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleRendering::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1138]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1138]); } Ifc4x3_add2::IfcSurfaceStyleRendering::IfcSurfaceStyleRendering(IfcEntityInstanceData&& e) : IfcSurfaceStyleShading(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceStyleRendering::IfcSurfaceStyleRendering(::Ifc4x3_add2::IfcColourRgb* v1_SurfaceColour, boost::optional< double > v2_Transparency, ::Ifc4x3_add2::IfcColourOrFactor* v3_DiffuseColour, ::Ifc4x3_add2::IfcColourOrFactor* v4_TransmissionColour, ::Ifc4x3_add2::IfcColourOrFactor* v5_DiffuseTransmissionColour, ::Ifc4x3_add2::IfcColourOrFactor* v6_ReflectionColour, ::Ifc4x3_add2::IfcColourOrFactor* v7_SpecularColour, ::Ifc4x3_add2::IfcSpecularHighlightSelect* v8_SpecularHighlight, ::Ifc4x3_add2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) : IfcSurfaceStyleShading(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, v1_SurfaceColour ? v1_SurfaceColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, v3_DiffuseColour ? v3_DiffuseColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TransmissionColour ? v4_TransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_DiffuseTransmissionColour ? v5_DiffuseTransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_ReflectionColour ? v6_ReflectionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_SpecularColour ? v7_SpecularColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_SpecularHighlight ? v8_SpecularHighlight->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +Ifc4x3_add2::IfcSurfaceStyleRendering::IfcSurfaceStyleRendering(::Ifc4x3_add2::IfcColourRgb* v1_SurfaceColour, boost::optional< double > v2_Transparency, ::Ifc4x3_add2::IfcColourOrFactor* v3_DiffuseColour, ::Ifc4x3_add2::IfcColourOrFactor* v4_TransmissionColour, ::Ifc4x3_add2::IfcColourOrFactor* v5_DiffuseTransmissionColour, ::Ifc4x3_add2::IfcColourOrFactor* v6_ReflectionColour, ::Ifc4x3_add2::IfcColourOrFactor* v7_SpecularColour, ::Ifc4x3_add2::IfcSpecularHighlightSelect* v8_SpecularHighlight, ::Ifc4x3_add2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) : IfcSurfaceStyleShading(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, v1_SurfaceColour ? v1_SurfaceColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, v3_DiffuseColour ? v3_DiffuseColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TransmissionColour ? v4_TransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_DiffuseTransmissionColour ? v5_DiffuseTransmissionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(5, v6_ReflectionColour ? v6_ReflectionColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_SpecularColour ? v7_SpecularColour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(7, v8_SpecularHighlight ? v8_SpecularHighlight->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod)));; populate_derived(); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_add2::IfcColourRgb* Ifc4x3_add2::IfcSurfaceStyleShading::SurfaceColour() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcColourRgb>(true); } @@ -16739,7 +16739,7 @@ void Ifc4x3_add2::IfcSurfaceStyleShading::setTransparency(boost::optional< doubl const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleShading::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1139]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1139]); } Ifc4x3_add2::IfcSurfaceStyleShading::IfcSurfaceStyleShading(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceStyleShading::IfcSurfaceStyleShading(::Ifc4x3_add2::IfcColourRgb* v1_SurfaceColour, boost::optional< double > v2_Transparency) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SurfaceColour ? v1_SurfaceColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } +Ifc4x3_add2::IfcSurfaceStyleShading::IfcSurfaceStyleShading(::Ifc4x3_add2::IfcColourRgb* v1_SurfaceColour, boost::optional< double > v2_Transparency) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SurfaceColour ? v1_SurfaceColour->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }; populate_derived(); } // Function implementations for IfcSurfaceStyleWithTextures aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr Ifc4x3_add2::IfcSurfaceStyleWithTextures::Textures() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcSurfaceTexture >(); } @@ -16749,7 +16749,7 @@ void Ifc4x3_add2::IfcSurfaceStyleWithTextures::setTextures(aggregate_of< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleWithTextures::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1140]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1140]); } Ifc4x3_add2::IfcSurfaceStyleWithTextures::IfcSurfaceStyleWithTextures(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceStyleWithTextures::IfcSurfaceStyleWithTextures(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Textures) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Textures)->generalize()); } +Ifc4x3_add2::IfcSurfaceStyleWithTextures::IfcSurfaceStyleWithTextures(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Textures) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Textures)->generalize());; populate_derived(); } // Function implementations for IfcSurfaceTexture bool Ifc4x3_add2::IfcSurfaceTexture::RepeatS() const { bool v = data_.get_attribute_value(0); return v; } @@ -16769,7 +16769,7 @@ void Ifc4x3_add2::IfcSurfaceTexture::setParameter(boost::optional< std::vector< const IfcParse::entity& Ifc4x3_add2::IfcSurfaceTexture::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1141]); } const IfcParse::entity& Ifc4x3_add2::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1141]); } Ifc4x3_add2::IfcSurfaceTexture::IfcSurfaceTexture(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcSurfaceTexture::IfcSurfaceTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) : IfcPresentationItem(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } +Ifc4x3_add2::IfcSurfaceTexture::IfcSurfaceTexture(bool v1_RepeatS, bool v2_RepeatT, boost::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D* v4_TextureTransform, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) : IfcPresentationItem(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, v4_TextureTransform ? v4_TextureTransform->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }; populate_derived(); } // Function implementations for IfcSweptAreaSolid ::Ifc4x3_add2::IfcProfileDef* Ifc4x3_add2::IfcSweptAreaSolid::SweptArea() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcProfileDef>(true); } @@ -16781,7 +16781,7 @@ void Ifc4x3_add2::IfcSweptAreaSolid::setPosition(::Ifc4x3_add2::IfcAxis2Placemen const IfcParse::entity& Ifc4x3_add2::IfcSweptAreaSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1142]); } const IfcParse::entity& Ifc4x3_add2::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1142]); } Ifc4x3_add2::IfcSweptAreaSolid::IfcSweptAreaSolid(IfcEntityInstanceData&& e) : IfcSolidModel(std::move(e)) { } -Ifc4x3_add2::IfcSweptAreaSolid::IfcSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position) : IfcSolidModel(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSweptAreaSolid::IfcSweptAreaSolid(::Ifc4x3_add2::IfcProfileDef* v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position) : IfcSolidModel(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SweptArea ? v1_SweptArea->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSweptDiskSolid ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcSweptDiskSolid::Directrix() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -16799,7 +16799,7 @@ void Ifc4x3_add2::IfcSweptDiskSolid::setEndParam(boost::optional< double > v) { const IfcParse::entity& Ifc4x3_add2::IfcSweptDiskSolid::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1143]); } const IfcParse::entity& Ifc4x3_add2::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1143]); } Ifc4x3_add2::IfcSweptDiskSolid::IfcSweptDiskSolid(IfcEntityInstanceData&& e) : IfcSolidModel(std::move(e)) { } -Ifc4x3_add2::IfcSweptDiskSolid::IfcSweptDiskSolid(::Ifc4x3_add2::IfcCurve* v1_Directrix, double v2_Radius, boost::optional< double > v3_InnerRadius, boost::optional< double > v4_StartParam, boost::optional< double > v5_EndParam) : IfcSolidModel(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); if (v3_InnerRadius) {set_attribute_value(2, (*v3_InnerRadius)); } if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); } } +Ifc4x3_add2::IfcSweptDiskSolid::IfcSweptDiskSolid(::Ifc4x3_add2::IfcCurve* v1_Directrix, double v2_Radius, boost::optional< double > v3_InnerRadius, boost::optional< double > v4_StartParam, boost::optional< double > v5_EndParam) : IfcSolidModel(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); if (v3_InnerRadius) {set_attribute_value(2, (*v3_InnerRadius)); } if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }; populate_derived(); } // Function implementations for IfcSweptDiskSolidPolygonal boost::optional< double > Ifc4x3_add2::IfcSweptDiskSolidPolygonal::FilletRadius() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } double v = data_.get_attribute_value(5); return v; } @@ -16809,7 +16809,7 @@ void Ifc4x3_add2::IfcSweptDiskSolidPolygonal::setFilletRadius(boost::optional< d const IfcParse::entity& Ifc4x3_add2::IfcSweptDiskSolidPolygonal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1144]); } const IfcParse::entity& Ifc4x3_add2::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1144]); } Ifc4x3_add2::IfcSweptDiskSolidPolygonal::IfcSweptDiskSolidPolygonal(IfcEntityInstanceData&& e) : IfcSweptDiskSolid(std::move(e)) { } -Ifc4x3_add2::IfcSweptDiskSolidPolygonal::IfcSweptDiskSolidPolygonal(::Ifc4x3_add2::IfcCurve* v1_Directrix, double v2_Radius, boost::optional< double > v3_InnerRadius, boost::optional< double > v4_StartParam, boost::optional< double > v5_EndParam, boost::optional< double > v6_FilletRadius) : IfcSweptDiskSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); if (v3_InnerRadius) {set_attribute_value(2, (*v3_InnerRadius)); } if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); } if (v6_FilletRadius) {set_attribute_value(5, (*v6_FilletRadius)); } } +Ifc4x3_add2::IfcSweptDiskSolidPolygonal::IfcSweptDiskSolidPolygonal(::Ifc4x3_add2::IfcCurve* v1_Directrix, double v2_Radius, boost::optional< double > v3_InnerRadius, boost::optional< double > v4_StartParam, boost::optional< double > v5_EndParam, boost::optional< double > v6_FilletRadius) : IfcSweptDiskSolid(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_Directrix ? v1_Directrix->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Radius)); if (v3_InnerRadius) {set_attribute_value(2, (*v3_InnerRadius)); } if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); } if (v6_FilletRadius) {set_attribute_value(5, (*v6_FilletRadius)); }; populate_derived(); } // Function implementations for IfcSweptSurface ::Ifc4x3_add2::IfcProfileDef* Ifc4x3_add2::IfcSweptSurface::SweptCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcProfileDef>(true); } @@ -16821,7 +16821,7 @@ void Ifc4x3_add2::IfcSweptSurface::setPosition(::Ifc4x3_add2::IfcAxis2Placement3 const IfcParse::entity& Ifc4x3_add2::IfcSweptSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1145]); } const IfcParse::entity& Ifc4x3_add2::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1145]); } Ifc4x3_add2::IfcSweptSurface::IfcSweptSurface(IfcEntityInstanceData&& e) : IfcSurface(std::move(e)) { } -Ifc4x3_add2::IfcSweptSurface::IfcSweptSurface(::Ifc4x3_add2::IfcProfileDef* v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position) : IfcSurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SweptCurve ? v1_SweptCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcSweptSurface::IfcSweptSurface(::Ifc4x3_add2::IfcProfileDef* v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D* v2_Position) : IfcSurface(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_SweptCurve ? v1_SweptCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_Position ? v2_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcSwitchingDevice boost::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_add2::IfcSwitchingDevice::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -16831,7 +16831,7 @@ void Ifc4x3_add2::IfcSwitchingDevice::setPredefinedType(boost::optional< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcSwitchingDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1146]); } const IfcParse::entity& Ifc4x3_add2::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1146]); } Ifc4x3_add2::IfcSwitchingDevice::IfcSwitchingDevice(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcSwitchingDevice::IfcSwitchingDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSwitchingDevice::IfcSwitchingDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_add2::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16841,7 +16841,7 @@ void Ifc4x3_add2::IfcSwitchingDeviceType::setPredefinedType(::Ifc4x3_add2::IfcSw const IfcParse::entity& Ifc4x3_add2::IfcSwitchingDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1147]); } const IfcParse::entity& Ifc4x3_add2::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1147]); } Ifc4x3_add2::IfcSwitchingDeviceType::IfcSwitchingDeviceType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcSwitchingDeviceType::IfcSwitchingDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcSwitchingDeviceType::IfcSwitchingDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcSystem @@ -16851,7 +16851,7 @@ Ifc4x3_add2::IfcSwitchingDeviceType::IfcSwitchingDeviceType(std::string v1_Globa const IfcParse::entity& Ifc4x3_add2::IfcSystem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1149]); } const IfcParse::entity& Ifc4x3_add2::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1149]); } Ifc4x3_add2::IfcSystem::IfcSystem(IfcEntityInstanceData&& e) : IfcGroup(std::move(e)) { } -Ifc4x3_add2::IfcSystem::IfcSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType) : IfcGroup(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } +Ifc4x3_add2::IfcSystem::IfcSystem(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType) : IfcGroup(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }; populate_derived(); } // Function implementations for IfcSystemFurnitureElement boost::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_add2::IfcSystemFurnitureElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -16861,7 +16861,7 @@ void Ifc4x3_add2::IfcSystemFurnitureElement::setPredefinedType(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcSystemFurnitureElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1150]); } const IfcParse::entity& Ifc4x3_add2::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1150]); } Ifc4x3_add2::IfcSystemFurnitureElement::IfcSystemFurnitureElement(IfcEntityInstanceData&& e) : IfcFurnishingElement(std::move(e)) { } -Ifc4x3_add2::IfcSystemFurnitureElement::IfcSystemFurnitureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) : IfcFurnishingElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcSystemFurnitureElement::IfcSystemFurnitureElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) : IfcFurnishingElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcSystemFurnitureElementType boost::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_add2::IfcSystemFurnitureElementType::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16871,7 +16871,7 @@ void Ifc4x3_add2::IfcSystemFurnitureElementType::setPredefinedType(boost::option const IfcParse::entity& Ifc4x3_add2::IfcSystemFurnitureElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1151]); } const IfcParse::entity& Ifc4x3_add2::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1151]); } Ifc4x3_add2::IfcSystemFurnitureElementType::IfcSystemFurnitureElementType(IfcEntityInstanceData&& e) : IfcFurnishingElementType(std::move(e)) { } -Ifc4x3_add2::IfcSystemFurnitureElementType::IfcSystemFurnitureElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, boost::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) : IfcFurnishingElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcSystemFurnitureElementType::IfcSystemFurnitureElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, boost::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) : IfcFurnishingElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTShapeProfileDef double Ifc4x3_add2::IfcTShapeProfileDef::Depth() const { double v = data_.get_attribute_value(3); return v; } @@ -16897,7 +16897,7 @@ void Ifc4x3_add2::IfcTShapeProfileDef::setFlangeSlope(boost::optional< double > const IfcParse::entity& Ifc4x3_add2::IfcTShapeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1237]); } const IfcParse::entity& Ifc4x3_add2::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1237]); } Ifc4x3_add2::IfcTShapeProfileDef::IfcTShapeProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcTShapeProfileDef::IfcTShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_FlangeEdgeRadius, boost::optional< double > v10_WebEdgeRadius, boost::optional< double > v11_WebSlope, boost::optional< double > v12_FlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_FlangeEdgeRadius) {set_attribute_value(8, (*v9_FlangeEdgeRadius)); } if (v10_WebEdgeRadius) {set_attribute_value(9, (*v10_WebEdgeRadius)); } if (v11_WebSlope) {set_attribute_value(10, (*v11_WebSlope)); } if (v12_FlangeSlope) {set_attribute_value(11, (*v12_FlangeSlope)); } } +Ifc4x3_add2::IfcTShapeProfileDef::IfcTShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_FlangeEdgeRadius, boost::optional< double > v10_WebEdgeRadius, boost::optional< double > v11_WebSlope, boost::optional< double > v12_FlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(12))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_FlangeEdgeRadius) {set_attribute_value(8, (*v9_FlangeEdgeRadius)); } if (v10_WebEdgeRadius) {set_attribute_value(9, (*v10_WebEdgeRadius)); } if (v11_WebSlope) {set_attribute_value(10, (*v11_WebSlope)); } if (v12_FlangeSlope) {set_attribute_value(11, (*v12_FlangeSlope)); }; populate_derived(); } // Function implementations for IfcTable boost::optional< std::string > Ifc4x3_add2::IfcTable::Name() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -16911,7 +16911,7 @@ void Ifc4x3_add2::IfcTable::setColumns(boost::optional< aggregate_of< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcTable::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1153]); } const IfcParse::entity& Ifc4x3_add2::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1153]); } Ifc4x3_add2::IfcTable::IfcTable(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcTable::IfcTable(boost::optional< std::string > v1_Name, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcTableRow >::ptr > v2_Rows, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcTableColumn >::ptr > v3_Columns) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, (*v2_Rows)->generalize()); } if (v3_Columns) {set_attribute_value(2, (*v3_Columns)->generalize()); } } +Ifc4x3_add2::IfcTable::IfcTable(boost::optional< std::string > v1_Name, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcTableRow >::ptr > v2_Rows, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcTableColumn >::ptr > v3_Columns) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(3))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, (*v2_Rows)->generalize()); } if (v3_Columns) {set_attribute_value(2, (*v3_Columns)->generalize()); }; populate_derived(); } // Function implementations for IfcTableColumn boost::optional< std::string > Ifc4x3_add2::IfcTableColumn::Identifier() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(0); return v; } @@ -16929,7 +16929,7 @@ void Ifc4x3_add2::IfcTableColumn::setReferencePath(::Ifc4x3_add2::IfcReference* const IfcParse::entity& Ifc4x3_add2::IfcTableColumn::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1154]); } const IfcParse::entity& Ifc4x3_add2::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1154]); } Ifc4x3_add2::IfcTableColumn::IfcTableColumn(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcTableColumn::IfcTableColumn(boost::optional< std::string > v1_Identifier, boost::optional< std::string > v2_Name, boost::optional< std::string > v3_Description, ::Ifc4x3_add2::IfcUnit* v4_Unit, ::Ifc4x3_add2::IfcReference* v5_ReferencePath) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { if (v1_Identifier) {set_attribute_value(0, (*v1_Identifier)); } if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, v4_Unit ? v4_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_ReferencePath ? v5_ReferencePath->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTableColumn::IfcTableColumn(boost::optional< std::string > v1_Identifier, boost::optional< std::string > v2_Name, boost::optional< std::string > v3_Description, ::Ifc4x3_add2::IfcUnit* v4_Unit, ::Ifc4x3_add2::IfcReference* v5_ReferencePath) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(5))) { if (v1_Identifier) {set_attribute_value(0, (*v1_Identifier)); } if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, v4_Unit ? v4_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_ReferencePath ? v5_ReferencePath->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTableRow boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > Ifc4x3_add2::IfcTableRow::RowCells() const { if(data_.get_attribute_value(0).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcValue >(); } @@ -16941,7 +16941,7 @@ void Ifc4x3_add2::IfcTableRow::setIsHeading(boost::optional< bool > v) { if (v) const IfcParse::entity& Ifc4x3_add2::IfcTableRow::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1155]); } const IfcParse::entity& Ifc4x3_add2::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1155]); } Ifc4x3_add2::IfcTableRow::IfcTableRow(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcTableRow::IfcTableRow(boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v1_RowCells, boost::optional< bool > v2_IsHeading) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_RowCells) {set_attribute_value(0, (*v1_RowCells)->generalize()); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } +Ifc4x3_add2::IfcTableRow::IfcTableRow(boost::optional< aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr > v1_RowCells, boost::optional< bool > v2_IsHeading) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { if (v1_RowCells) {set_attribute_value(0, (*v1_RowCells)->generalize()); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); }; populate_derived(); } // Function implementations for IfcTank boost::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > Ifc4x3_add2::IfcTank::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTankTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -16951,7 +16951,7 @@ void Ifc4x3_add2::IfcTank::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcTank::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1156]); } const IfcParse::entity& Ifc4x3_add2::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1156]); } Ifc4x3_add2::IfcTank::IfcTank(IfcEntityInstanceData&& e) : IfcFlowStorageDevice(std::move(e)) { } -Ifc4x3_add2::IfcTank::IfcTank(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > v9_PredefinedType) : IfcFlowStorageDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcTank::IfcTank(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > v9_PredefinedType) : IfcFlowStorageDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTankType ::Ifc4x3_add2::IfcTankTypeEnum::Value Ifc4x3_add2::IfcTankType::PredefinedType() const { return ::Ifc4x3_add2::IfcTankTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -16961,7 +16961,7 @@ void Ifc4x3_add2::IfcTankType::setPredefinedType(::Ifc4x3_add2::IfcTankTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcTankType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1157]); } const IfcParse::entity& Ifc4x3_add2::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1157]); } Ifc4x3_add2::IfcTankType::IfcTankType(IfcEntityInstanceData&& e) : IfcFlowStorageDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcTankType::IfcTankType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTankTypeEnum::Value v10_PredefinedType) : IfcFlowStorageDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcTankType::IfcTankType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTankTypeEnum::Value v10_PredefinedType) : IfcFlowStorageDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcTask boost::optional< std::string > Ifc4x3_add2::IfcTask::Status() const { if(data_.get_attribute_value(7).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(7); return v; } @@ -16981,7 +16981,7 @@ void Ifc4x3_add2::IfcTask::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcTask::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1159]); } const IfcParse::entity& Ifc4x3_add2::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1159]); } Ifc4x3_add2::IfcTask::IfcTask(IfcEntityInstanceData&& e) : IfcProcess(std::move(e)) { } -Ifc4x3_add2::IfcTask::IfcTask(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, boost::optional< int > v11_Priority, ::Ifc4x3_add2::IfcTaskTime* v12_TaskTime, boost::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > v13_PredefinedType) : IfcProcess(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_WorkMethod) {set_attribute_value(8, (*v9_WorkMethod)); }set_attribute_value(9, (v10_IsMilestone)); if (v11_Priority) {set_attribute_value(10, (*v11_Priority)); }set_attribute_value(11, v12_TaskTime ? v12_TaskTime->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +Ifc4x3_add2::IfcTask::IfcTask(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< std::string > v7_LongDescription, boost::optional< std::string > v8_Status, boost::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, boost::optional< int > v11_Priority, ::Ifc4x3_add2::IfcTaskTime* v12_TaskTime, boost::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > v13_PredefinedType) : IfcProcess(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_WorkMethod) {set_attribute_value(8, (*v9_WorkMethod)); }set_attribute_value(9, (v10_IsMilestone)); if (v11_Priority) {set_attribute_value(10, (*v11_Priority)); }set_attribute_value(11, v12_TaskTime ? v12_TaskTime->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTaskTime boost::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > Ifc4x3_add2::IfcTaskTime::DurationType() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTaskDurationEnum::FromString(data_.get_attribute_value(3)); } @@ -17023,7 +17023,7 @@ void Ifc4x3_add2::IfcTaskTime::setCompletion(boost::optional< double > v) { if ( const IfcParse::entity& Ifc4x3_add2::IfcTaskTime::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1161]); } const IfcParse::entity& Ifc4x3_add2::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1161]); } Ifc4x3_add2::IfcTaskTime::IfcTaskTime(IfcEntityInstanceData&& e) : IfcSchedulingTime(std::move(e)) { } -Ifc4x3_add2::IfcTaskTime::IfcTaskTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, boost::optional< std::string > v5_ScheduleDuration, boost::optional< std::string > v6_ScheduleStart, boost::optional< std::string > v7_ScheduleFinish, boost::optional< std::string > v8_EarlyStart, boost::optional< std::string > v9_EarlyFinish, boost::optional< std::string > v10_LateStart, boost::optional< std::string > v11_LateFinish, boost::optional< std::string > v12_FreeFloat, boost::optional< std::string > v13_TotalFloat, boost::optional< bool > v14_IsCritical, boost::optional< std::string > v15_StatusTime, boost::optional< std::string > v16_ActualDuration, boost::optional< std::string > v17_ActualStart, boost::optional< std::string > v18_ActualFinish, boost::optional< std::string > v19_RemainingTime, boost::optional< double > v20_Completion) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(20))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)*v4_DurationType))); } if (v5_ScheduleDuration) {set_attribute_value(4, (*v5_ScheduleDuration)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_EarlyStart) {set_attribute_value(7, (*v8_EarlyStart)); } if (v9_EarlyFinish) {set_attribute_value(8, (*v9_EarlyFinish)); } if (v10_LateStart) {set_attribute_value(9, (*v10_LateStart)); } if (v11_LateFinish) {set_attribute_value(10, (*v11_LateFinish)); } if (v12_FreeFloat) {set_attribute_value(11, (*v12_FreeFloat)); } if (v13_TotalFloat) {set_attribute_value(12, (*v13_TotalFloat)); } if (v14_IsCritical) {set_attribute_value(13, (*v14_IsCritical)); } if (v15_StatusTime) {set_attribute_value(14, (*v15_StatusTime)); } if (v16_ActualDuration) {set_attribute_value(15, (*v16_ActualDuration)); } if (v17_ActualStart) {set_attribute_value(16, (*v17_ActualStart)); } if (v18_ActualFinish) {set_attribute_value(17, (*v18_ActualFinish)); } if (v19_RemainingTime) {set_attribute_value(18, (*v19_RemainingTime)); } if (v20_Completion) {set_attribute_value(19, (*v20_Completion)); } } +Ifc4x3_add2::IfcTaskTime::IfcTaskTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, boost::optional< std::string > v5_ScheduleDuration, boost::optional< std::string > v6_ScheduleStart, boost::optional< std::string > v7_ScheduleFinish, boost::optional< std::string > v8_EarlyStart, boost::optional< std::string > v9_EarlyFinish, boost::optional< std::string > v10_LateStart, boost::optional< std::string > v11_LateFinish, boost::optional< std::string > v12_FreeFloat, boost::optional< std::string > v13_TotalFloat, boost::optional< bool > v14_IsCritical, boost::optional< std::string > v15_StatusTime, boost::optional< std::string > v16_ActualDuration, boost::optional< std::string > v17_ActualStart, boost::optional< std::string > v18_ActualFinish, boost::optional< std::string > v19_RemainingTime, boost::optional< double > v20_Completion) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(20))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)*v4_DurationType))); } if (v5_ScheduleDuration) {set_attribute_value(4, (*v5_ScheduleDuration)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_EarlyStart) {set_attribute_value(7, (*v8_EarlyStart)); } if (v9_EarlyFinish) {set_attribute_value(8, (*v9_EarlyFinish)); } if (v10_LateStart) {set_attribute_value(9, (*v10_LateStart)); } if (v11_LateFinish) {set_attribute_value(10, (*v11_LateFinish)); } if (v12_FreeFloat) {set_attribute_value(11, (*v12_FreeFloat)); } if (v13_TotalFloat) {set_attribute_value(12, (*v13_TotalFloat)); } if (v14_IsCritical) {set_attribute_value(13, (*v14_IsCritical)); } if (v15_StatusTime) {set_attribute_value(14, (*v15_StatusTime)); } if (v16_ActualDuration) {set_attribute_value(15, (*v16_ActualDuration)); } if (v17_ActualStart) {set_attribute_value(16, (*v17_ActualStart)); } if (v18_ActualFinish) {set_attribute_value(17, (*v18_ActualFinish)); } if (v19_RemainingTime) {set_attribute_value(18, (*v19_RemainingTime)); } if (v20_Completion) {set_attribute_value(19, (*v20_Completion)); }; populate_derived(); } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_add2::IfcRecurrencePattern* Ifc4x3_add2::IfcTaskTimeRecurring::Recurrence() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(20)))->as<::Ifc4x3_add2::IfcRecurrencePattern>(true); } @@ -17033,7 +17033,7 @@ void Ifc4x3_add2::IfcTaskTimeRecurring::setRecurrence(::Ifc4x3_add2::IfcRecurren const IfcParse::entity& Ifc4x3_add2::IfcTaskTimeRecurring::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1162]); } const IfcParse::entity& Ifc4x3_add2::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1162]); } Ifc4x3_add2::IfcTaskTimeRecurring::IfcTaskTimeRecurring(IfcEntityInstanceData&& e) : IfcTaskTime(std::move(e)) { } -Ifc4x3_add2::IfcTaskTimeRecurring::IfcTaskTimeRecurring(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, boost::optional< std::string > v5_ScheduleDuration, boost::optional< std::string > v6_ScheduleStart, boost::optional< std::string > v7_ScheduleFinish, boost::optional< std::string > v8_EarlyStart, boost::optional< std::string > v9_EarlyFinish, boost::optional< std::string > v10_LateStart, boost::optional< std::string > v11_LateFinish, boost::optional< std::string > v12_FreeFloat, boost::optional< std::string > v13_TotalFloat, boost::optional< bool > v14_IsCritical, boost::optional< std::string > v15_StatusTime, boost::optional< std::string > v16_ActualDuration, boost::optional< std::string > v17_ActualStart, boost::optional< std::string > v18_ActualFinish, boost::optional< std::string > v19_RemainingTime, boost::optional< double > v20_Completion, ::Ifc4x3_add2::IfcRecurrencePattern* v21_Recurrence) : IfcTaskTime(IfcEntityInstanceData(storage_t(21))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)*v4_DurationType))); } if (v5_ScheduleDuration) {set_attribute_value(4, (*v5_ScheduleDuration)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_EarlyStart) {set_attribute_value(7, (*v8_EarlyStart)); } if (v9_EarlyFinish) {set_attribute_value(8, (*v9_EarlyFinish)); } if (v10_LateStart) {set_attribute_value(9, (*v10_LateStart)); } if (v11_LateFinish) {set_attribute_value(10, (*v11_LateFinish)); } if (v12_FreeFloat) {set_attribute_value(11, (*v12_FreeFloat)); } if (v13_TotalFloat) {set_attribute_value(12, (*v13_TotalFloat)); } if (v14_IsCritical) {set_attribute_value(13, (*v14_IsCritical)); } if (v15_StatusTime) {set_attribute_value(14, (*v15_StatusTime)); } if (v16_ActualDuration) {set_attribute_value(15, (*v16_ActualDuration)); } if (v17_ActualStart) {set_attribute_value(16, (*v17_ActualStart)); } if (v18_ActualFinish) {set_attribute_value(17, (*v18_ActualFinish)); } if (v19_RemainingTime) {set_attribute_value(18, (*v19_RemainingTime)); } if (v20_Completion) {set_attribute_value(19, (*v20_Completion)); }set_attribute_value(20, v21_Recurrence ? v21_Recurrence->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTaskTimeRecurring::IfcTaskTimeRecurring(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, boost::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, boost::optional< std::string > v5_ScheduleDuration, boost::optional< std::string > v6_ScheduleStart, boost::optional< std::string > v7_ScheduleFinish, boost::optional< std::string > v8_EarlyStart, boost::optional< std::string > v9_EarlyFinish, boost::optional< std::string > v10_LateStart, boost::optional< std::string > v11_LateFinish, boost::optional< std::string > v12_FreeFloat, boost::optional< std::string > v13_TotalFloat, boost::optional< bool > v14_IsCritical, boost::optional< std::string > v15_StatusTime, boost::optional< std::string > v16_ActualDuration, boost::optional< std::string > v17_ActualStart, boost::optional< std::string > v18_ActualFinish, boost::optional< std::string > v19_RemainingTime, boost::optional< double > v20_Completion, ::Ifc4x3_add2::IfcRecurrencePattern* v21_Recurrence) : IfcTaskTime(IfcEntityInstanceData(storage_t(21))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)*v4_DurationType))); } if (v5_ScheduleDuration) {set_attribute_value(4, (*v5_ScheduleDuration)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_EarlyStart) {set_attribute_value(7, (*v8_EarlyStart)); } if (v9_EarlyFinish) {set_attribute_value(8, (*v9_EarlyFinish)); } if (v10_LateStart) {set_attribute_value(9, (*v10_LateStart)); } if (v11_LateFinish) {set_attribute_value(10, (*v11_LateFinish)); } if (v12_FreeFloat) {set_attribute_value(11, (*v12_FreeFloat)); } if (v13_TotalFloat) {set_attribute_value(12, (*v13_TotalFloat)); } if (v14_IsCritical) {set_attribute_value(13, (*v14_IsCritical)); } if (v15_StatusTime) {set_attribute_value(14, (*v15_StatusTime)); } if (v16_ActualDuration) {set_attribute_value(15, (*v16_ActualDuration)); } if (v17_ActualStart) {set_attribute_value(16, (*v17_ActualStart)); } if (v18_ActualFinish) {set_attribute_value(17, (*v18_ActualFinish)); } if (v19_RemainingTime) {set_attribute_value(18, (*v19_RemainingTime)); } if (v20_Completion) {set_attribute_value(19, (*v20_Completion)); }set_attribute_value(20, v21_Recurrence ? v21_Recurrence->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTaskType ::Ifc4x3_add2::IfcTaskTypeEnum::Value Ifc4x3_add2::IfcTaskType::PredefinedType() const { return ::Ifc4x3_add2::IfcTaskTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17045,7 +17045,7 @@ void Ifc4x3_add2::IfcTaskType::setWorkMethod(boost::optional< std::string > v) { const IfcParse::entity& Ifc4x3_add2::IfcTaskType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1163]); } const IfcParse::entity& Ifc4x3_add2::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1163]); } Ifc4x3_add2::IfcTaskType::IfcTaskType(IfcEntityInstanceData&& e) : IfcTypeProcess(std::move(e)) { } -Ifc4x3_add2::IfcTaskType::IfcTaskType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcTaskTypeEnum::Value v10_PredefinedType, boost::optional< std::string > v11_WorkMethod) : IfcTypeProcess(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +Ifc4x3_add2::IfcTaskType::IfcTaskType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcTaskTypeEnum::Value v10_PredefinedType, boost::optional< std::string > v11_WorkMethod) : IfcTypeProcess(IfcEntityInstanceData(storage_t(11))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); }; populate_derived(); } // Function implementations for IfcTelecomAddress boost::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add2::IfcTelecomAddress::TelephoneNumbers() const { if(data_.get_attribute_value(3).isNull()) { return boost::none; } std::vector< std::string > /*[1:?]*/ v = data_.get_attribute_value(3); return v; } @@ -17065,7 +17065,7 @@ void Ifc4x3_add2::IfcTelecomAddress::setMessagingIDs(boost::optional< std::vecto const IfcParse::entity& Ifc4x3_add2::IfcTelecomAddress::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1165]); } const IfcParse::entity& Ifc4x3_add2::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1165]); } Ifc4x3_add2::IfcTelecomAddress::IfcTelecomAddress(IfcEntityInstanceData&& e) : IfcAddress(std::move(e)) { } -Ifc4x3_add2::IfcTelecomAddress::IfcTelecomAddress(boost::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_UserDefinedPurpose, boost::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, boost::optional< std::string > v6_PagerNumber, boost::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, boost::optional< std::string > v8_WWWHomePageURL, boost::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) : IfcAddress(IfcEntityInstanceData(storage_t(9))) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } if (v4_TelephoneNumbers) {set_attribute_value(3, (*v4_TelephoneNumbers)); } if (v5_FacsimileNumbers) {set_attribute_value(4, (*v5_FacsimileNumbers)); } if (v6_PagerNumber) {set_attribute_value(5, (*v6_PagerNumber)); } if (v7_ElectronicMailAddresses) {set_attribute_value(6, (*v7_ElectronicMailAddresses)); } if (v8_WWWHomePageURL) {set_attribute_value(7, (*v8_WWWHomePageURL)); } if (v9_MessagingIDs) {set_attribute_value(8, (*v9_MessagingIDs)); } } +Ifc4x3_add2::IfcTelecomAddress::IfcTelecomAddress(boost::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, boost::optional< std::string > v2_Description, boost::optional< std::string > v3_UserDefinedPurpose, boost::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, boost::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, boost::optional< std::string > v6_PagerNumber, boost::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, boost::optional< std::string > v8_WWWHomePageURL, boost::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) : IfcAddress(IfcEntityInstanceData(storage_t(9))) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } if (v4_TelephoneNumbers) {set_attribute_value(3, (*v4_TelephoneNumbers)); } if (v5_FacsimileNumbers) {set_attribute_value(4, (*v5_FacsimileNumbers)); } if (v6_PagerNumber) {set_attribute_value(5, (*v6_PagerNumber)); } if (v7_ElectronicMailAddresses) {set_attribute_value(6, (*v7_ElectronicMailAddresses)); } if (v8_WWWHomePageURL) {set_attribute_value(7, (*v8_WWWHomePageURL)); } if (v9_MessagingIDs) {set_attribute_value(8, (*v9_MessagingIDs)); }; populate_derived(); } // Function implementations for IfcTendon boost::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > Ifc4x3_add2::IfcTendon::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTendonTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17089,7 +17089,7 @@ void Ifc4x3_add2::IfcTendon::setMinCurvatureRadius(boost::optional< double > v) const IfcParse::entity& Ifc4x3_add2::IfcTendon::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1168]); } const IfcParse::entity& Ifc4x3_add2::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1168]); } Ifc4x3_add2::IfcTendon::IfcTendon(IfcEntityInstanceData&& e) : IfcReinforcingElement(std::move(e)) { } -Ifc4x3_add2::IfcTendon::IfcTendon(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_CrossSectionArea, boost::optional< double > v13_TensionForce, boost::optional< double > v14_PreStress, boost::optional< double > v15_FrictionCoefficient, boost::optional< double > v16_AnchorageSlip, boost::optional< double > v17_MinCurvatureRadius) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(17))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_TensionForce) {set_attribute_value(12, (*v13_TensionForce)); } if (v14_PreStress) {set_attribute_value(13, (*v14_PreStress)); } if (v15_FrictionCoefficient) {set_attribute_value(14, (*v15_FrictionCoefficient)); } if (v16_AnchorageSlip) {set_attribute_value(15, (*v16_AnchorageSlip)); } if (v17_MinCurvatureRadius) {set_attribute_value(16, (*v17_MinCurvatureRadius)); } } +Ifc4x3_add2::IfcTendon::IfcTendon(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_CrossSectionArea, boost::optional< double > v13_TensionForce, boost::optional< double > v14_PreStress, boost::optional< double > v15_FrictionCoefficient, boost::optional< double > v16_AnchorageSlip, boost::optional< double > v17_MinCurvatureRadius) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(17))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_TensionForce) {set_attribute_value(12, (*v13_TensionForce)); } if (v14_PreStress) {set_attribute_value(13, (*v14_PreStress)); } if (v15_FrictionCoefficient) {set_attribute_value(14, (*v15_FrictionCoefficient)); } if (v16_AnchorageSlip) {set_attribute_value(15, (*v16_AnchorageSlip)); } if (v17_MinCurvatureRadius) {set_attribute_value(16, (*v17_MinCurvatureRadius)); }; populate_derived(); } // Function implementations for IfcTendonAnchor boost::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > Ifc4x3_add2::IfcTendonAnchor::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17099,7 +17099,7 @@ void Ifc4x3_add2::IfcTendonAnchor::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcTendonAnchor::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1169]); } const IfcParse::entity& Ifc4x3_add2::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1169]); } Ifc4x3_add2::IfcTendonAnchor::IfcTendonAnchor(IfcEntityInstanceData&& e) : IfcReinforcingElement(std::move(e)) { } -Ifc4x3_add2::IfcTendonAnchor::IfcTendonAnchor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcTendonAnchor::IfcTendonAnchor(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTendonAnchorType ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value Ifc4x3_add2::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17109,7 +17109,7 @@ void Ifc4x3_add2::IfcTendonAnchorType::setPredefinedType(::Ifc4x3_add2::IfcTendo const IfcParse::entity& Ifc4x3_add2::IfcTendonAnchorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1170]); } const IfcParse::entity& Ifc4x3_add2::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1170]); } Ifc4x3_add2::IfcTendonAnchorType::IfcTendonAnchorType(IfcEntityInstanceData&& e) : IfcReinforcingElementType(std::move(e)) { } -Ifc4x3_add2::IfcTendonAnchorType::IfcTendonAnchorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcTendonAnchorType::IfcTendonAnchorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcTendonConduit boost::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > Ifc4x3_add2::IfcTendonConduit::PredefinedType() const { if(data_.get_attribute_value(9).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTendonConduitTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17119,7 +17119,7 @@ void Ifc4x3_add2::IfcTendonConduit::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcTendonConduit::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1172]); } const IfcParse::entity& Ifc4x3_add2::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1172]); } Ifc4x3_add2::IfcTendonConduit::IfcTendonConduit(IfcEntityInstanceData&& e) : IfcReinforcingElement(std::move(e)) { } -Ifc4x3_add2::IfcTendonConduit::IfcTendonConduit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > v10_PredefinedType) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +Ifc4x3_add2::IfcTendonConduit::IfcTendonConduit(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_SteelGrade, boost::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > v10_PredefinedType) : IfcReinforcingElement(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTendonConduitType ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value Ifc4x3_add2::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_add2::IfcTendonConduitTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17129,7 +17129,7 @@ void Ifc4x3_add2::IfcTendonConduitType::setPredefinedType(::Ifc4x3_add2::IfcTend const IfcParse::entity& Ifc4x3_add2::IfcTendonConduitType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1173]); } const IfcParse::entity& Ifc4x3_add2::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1173]); } Ifc4x3_add2::IfcTendonConduitType::IfcTendonConduitType(IfcEntityInstanceData&& e) : IfcReinforcingElementType(std::move(e)) { } -Ifc4x3_add2::IfcTendonConduitType::IfcTendonConduitType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcTendonConduitType::IfcTendonConduitType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcTendonType ::Ifc4x3_add2::IfcTendonTypeEnum::Value Ifc4x3_add2::IfcTendonType::PredefinedType() const { return ::Ifc4x3_add2::IfcTendonTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17145,7 +17145,7 @@ void Ifc4x3_add2::IfcTendonType::setSheathDiameter(boost::optional< double > v) const IfcParse::entity& Ifc4x3_add2::IfcTendonType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1175]); } const IfcParse::entity& Ifc4x3_add2::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1175]); } Ifc4x3_add2::IfcTendonType::IfcTendonType(IfcEntityInstanceData&& e) : IfcReinforcingElementType(std::move(e)) { } -Ifc4x3_add2::IfcTendonType::IfcTendonType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_CrossSectionArea, boost::optional< double > v13_SheathDiameter) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_SheathDiameter) {set_attribute_value(12, (*v13_SheathDiameter)); } } +Ifc4x3_add2::IfcTendonType::IfcTendonType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonTypeEnum::Value v10_PredefinedType, boost::optional< double > v11_NominalDiameter, boost::optional< double > v12_CrossSectionArea, boost::optional< double > v13_SheathDiameter) : IfcReinforcingElementType(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_SheathDiameter) {set_attribute_value(12, (*v13_SheathDiameter)); }; populate_derived(); } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_add2::IfcCartesianPointList3D* Ifc4x3_add2::IfcTessellatedFaceSet::Coordinates() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCartesianPointList3D>(true); } @@ -17157,7 +17157,7 @@ void Ifc4x3_add2::IfcTessellatedFaceSet::setCoordinates(::Ifc4x3_add2::IfcCartes const IfcParse::entity& Ifc4x3_add2::IfcTessellatedFaceSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1177]); } const IfcParse::entity& Ifc4x3_add2::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1177]); } Ifc4x3_add2::IfcTessellatedFaceSet::IfcTessellatedFaceSet(IfcEntityInstanceData&& e) : IfcTessellatedItem(std::move(e)) { } -Ifc4x3_add2::IfcTessellatedFaceSet::IfcTessellatedFaceSet(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates) : IfcTessellatedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTessellatedFaceSet::IfcTessellatedFaceSet(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates) : IfcTessellatedItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTessellatedItem @@ -17165,7 +17165,7 @@ Ifc4x3_add2::IfcTessellatedFaceSet::IfcTessellatedFaceSet(::Ifc4x3_add2::IfcCart const IfcParse::entity& Ifc4x3_add2::IfcTessellatedItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1178]); } const IfcParse::entity& Ifc4x3_add2::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1178]); } Ifc4x3_add2::IfcTessellatedItem::IfcTessellatedItem(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTessellatedItem::IfcTessellatedItem() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcTessellatedItem::IfcTessellatedItem() : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcTextLiteral std::string Ifc4x3_add2::IfcTextLiteral::Literal() const { std::string v = data_.get_attribute_value(0); return v; } @@ -17179,7 +17179,7 @@ void Ifc4x3_add2::IfcTextLiteral::setPath(::Ifc4x3_add2::IfcTextPath::Value v) { const IfcParse::entity& Ifc4x3_add2::IfcTextLiteral::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1184]); } const IfcParse::entity& Ifc4x3_add2::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1184]); } Ifc4x3_add2::IfcTextLiteral::IfcTextLiteral(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTextLiteral::IfcTextLiteral(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement* v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, v2_Placement ? v2_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path))); } +Ifc4x3_add2::IfcTextLiteral::IfcTextLiteral(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement* v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, v2_Placement ? v2_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path)));; populate_derived(); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_add2::IfcPlanarExtent* Ifc4x3_add2::IfcTextLiteralWithExtent::Extent() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcPlanarExtent>(true); } @@ -17191,7 +17191,7 @@ void Ifc4x3_add2::IfcTextLiteralWithExtent::setBoxAlignment(std::string v) { set const IfcParse::entity& Ifc4x3_add2::IfcTextLiteralWithExtent::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1185]); } const IfcParse::entity& Ifc4x3_add2::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1185]); } Ifc4x3_add2::IfcTextLiteralWithExtent::IfcTextLiteralWithExtent(IfcEntityInstanceData&& e) : IfcTextLiteral(std::move(e)) { } -Ifc4x3_add2::IfcTextLiteralWithExtent::IfcTextLiteralWithExtent(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement* v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path, ::Ifc4x3_add2::IfcPlanarExtent* v4_Extent, std::string v5_BoxAlignment) : IfcTextLiteral(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, v2_Placement ? v2_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, v4_Extent ? v4_Extent->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_BoxAlignment)); } +Ifc4x3_add2::IfcTextLiteralWithExtent::IfcTextLiteralWithExtent(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement* v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path, ::Ifc4x3_add2::IfcPlanarExtent* v4_Extent, std::string v5_BoxAlignment) : IfcTextLiteral(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, v2_Placement ? v2_Placement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, v4_Extent ? v4_Extent->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, (v5_BoxAlignment));; populate_derived(); } // Function implementations for IfcTextStyle ::Ifc4x3_add2::IfcTextStyleForDefinedFont* Ifc4x3_add2::IfcTextStyle::TextCharacterAppearance() const { if(data_.get_attribute_value(1).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(1)))->as<::Ifc4x3_add2::IfcTextStyleForDefinedFont>(true); } @@ -17207,7 +17207,7 @@ void Ifc4x3_add2::IfcTextStyle::setModelOrDraughting(boost::optional< bool > v) const IfcParse::entity& Ifc4x3_add2::IfcTextStyle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1187]); } const IfcParse::entity& Ifc4x3_add2::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1187]); } Ifc4x3_add2::IfcTextStyle::IfcTextStyle(IfcEntityInstanceData&& e) : IfcPresentationStyle(std::move(e)) { } -Ifc4x3_add2::IfcTextStyle::IfcTextStyle(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTextStyleForDefinedFont* v2_TextCharacterAppearance, ::Ifc4x3_add2::IfcTextStyleTextModel* v3_TextStyle, ::Ifc4x3_add2::IfcTextFontSelect* v4_TextFontStyle, boost::optional< bool > v5_ModelOrDraughting) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TextCharacterAppearance ? v2_TextCharacterAppearance->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TextStyle ? v3_TextStyle->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TextFontStyle ? v4_TextFontStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } +Ifc4x3_add2::IfcTextStyle::IfcTextStyle(boost::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTextStyleForDefinedFont* v2_TextCharacterAppearance, ::Ifc4x3_add2::IfcTextStyleTextModel* v3_TextStyle, ::Ifc4x3_add2::IfcTextFontSelect* v4_TextFontStyle, boost::optional< bool > v5_ModelOrDraughting) : IfcPresentationStyle(IfcEntityInstanceData(storage_t(5))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, v2_TextCharacterAppearance ? v2_TextCharacterAppearance->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, v3_TextStyle ? v3_TextStyle->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, v4_TextFontStyle ? v4_TextFontStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); }; populate_derived(); } // Function implementations for IfcTextStyleFontModel std::vector< std::string > /*[1:?]*/ Ifc4x3_add2::IfcTextStyleFontModel::FontFamily() const { std::vector< std::string > /*[1:?]*/ v = data_.get_attribute_value(1); return v; } @@ -17225,7 +17225,7 @@ void Ifc4x3_add2::IfcTextStyleFontModel::setFontSize(::Ifc4x3_add2::IfcSizeSelec const IfcParse::entity& Ifc4x3_add2::IfcTextStyleFontModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1188]); } const IfcParse::entity& Ifc4x3_add2::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1188]); } Ifc4x3_add2::IfcTextStyleFontModel::IfcTextStyleFontModel(IfcEntityInstanceData&& e) : IfcPreDefinedTextFont(std::move(e)) { } -Ifc4x3_add2::IfcTextStyleFontModel::IfcTextStyleFontModel(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, boost::optional< std::string > v3_FontStyle, boost::optional< std::string > v4_FontVariant, boost::optional< std::string > v5_FontWeight, ::Ifc4x3_add2::IfcSizeSelect* v6_FontSize) : IfcPreDefinedTextFont(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name));set_attribute_value(1, (v2_FontFamily)); if (v3_FontStyle) {set_attribute_value(2, (*v3_FontStyle)); } if (v4_FontVariant) {set_attribute_value(3, (*v4_FontVariant)); } if (v5_FontWeight) {set_attribute_value(4, (*v5_FontWeight)); }set_attribute_value(5, v6_FontSize ? v6_FontSize->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTextStyleFontModel::IfcTextStyleFontModel(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, boost::optional< std::string > v3_FontStyle, boost::optional< std::string > v4_FontVariant, boost::optional< std::string > v5_FontWeight, ::Ifc4x3_add2::IfcSizeSelect* v6_FontSize) : IfcPreDefinedTextFont(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_Name));set_attribute_value(1, (v2_FontFamily)); if (v3_FontStyle) {set_attribute_value(2, (*v3_FontStyle)); } if (v4_FontVariant) {set_attribute_value(3, (*v4_FontVariant)); } if (v5_FontWeight) {set_attribute_value(4, (*v5_FontWeight)); }set_attribute_value(5, v6_FontSize ? v6_FontSize->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTextStyleForDefinedFont ::Ifc4x3_add2::IfcColour* Ifc4x3_add2::IfcTextStyleForDefinedFont::Colour() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcColour>(true); } @@ -17237,7 +17237,7 @@ void Ifc4x3_add2::IfcTextStyleForDefinedFont::setBackgroundColour(::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcTextStyleForDefinedFont::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1189]); } const IfcParse::entity& Ifc4x3_add2::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1189]); } Ifc4x3_add2::IfcTextStyleForDefinedFont::IfcTextStyleForDefinedFont(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTextStyleForDefinedFont::IfcTextStyleForDefinedFont(::Ifc4x3_add2::IfcColour* v1_Colour, ::Ifc4x3_add2::IfcColour* v2_BackgroundColour) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Colour ? v1_Colour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_BackgroundColour ? v2_BackgroundColour->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTextStyleForDefinedFont::IfcTextStyleForDefinedFont(::Ifc4x3_add2::IfcColour* v1_Colour, ::Ifc4x3_add2::IfcColour* v2_BackgroundColour) : IfcPresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Colour ? v1_Colour->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, v2_BackgroundColour ? v2_BackgroundColour->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTextStyleTextModel ::Ifc4x3_add2::IfcSizeSelect* Ifc4x3_add2::IfcTextStyleTextModel::TextIndent() const { if(data_.get_attribute_value(0).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcSizeSelect>(true); } @@ -17259,7 +17259,7 @@ void Ifc4x3_add2::IfcTextStyleTextModel::setLineHeight(::Ifc4x3_add2::IfcSizeSel const IfcParse::entity& Ifc4x3_add2::IfcTextStyleTextModel::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1190]); } const IfcParse::entity& Ifc4x3_add2::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1190]); } Ifc4x3_add2::IfcTextStyleTextModel::IfcTextStyleTextModel(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTextStyleTextModel::IfcTextStyleTextModel(::Ifc4x3_add2::IfcSizeSelect* v1_TextIndent, boost::optional< std::string > v2_TextAlign, boost::optional< std::string > v3_TextDecoration, ::Ifc4x3_add2::IfcSizeSelect* v4_LetterSpacing, ::Ifc4x3_add2::IfcSizeSelect* v5_WordSpacing, boost::optional< std::string > v6_TextTransform, ::Ifc4x3_add2::IfcSizeSelect* v7_LineHeight) : IfcPresentationItem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_TextIndent ? v1_TextIndent->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, v4_LetterSpacing ? v4_LetterSpacing->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_WordSpacing ? v5_WordSpacing->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, v7_LineHeight ? v7_LineHeight->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTextStyleTextModel::IfcTextStyleTextModel(::Ifc4x3_add2::IfcSizeSelect* v1_TextIndent, boost::optional< std::string > v2_TextAlign, boost::optional< std::string > v3_TextDecoration, ::Ifc4x3_add2::IfcSizeSelect* v4_LetterSpacing, ::Ifc4x3_add2::IfcSizeSelect* v5_WordSpacing, boost::optional< std::string > v6_TextTransform, ::Ifc4x3_add2::IfcSizeSelect* v7_LineHeight) : IfcPresentationItem(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, v1_TextIndent ? v1_TextIndent->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, v4_LetterSpacing ? v4_LetterSpacing->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(4, v5_WordSpacing ? v5_WordSpacing->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, v7_LineHeight ? v7_LineHeight->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTextureCoordinate aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr Ifc4x3_add2::IfcTextureCoordinate::Maps() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcSurfaceTexture >(); } @@ -17269,7 +17269,7 @@ void Ifc4x3_add2::IfcTextureCoordinate::setMaps(aggregate_of< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinate::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1192]); } const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1192]); } Ifc4x3_add2::IfcTextureCoordinate::IfcTextureCoordinate(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTextureCoordinate::IfcTextureCoordinate(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Maps)->generalize()); } +Ifc4x3_add2::IfcTextureCoordinate::IfcTextureCoordinate(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Maps)->generalize());; populate_derived(); } // Function implementations for IfcTextureCoordinateGenerator std::string Ifc4x3_add2::IfcTextureCoordinateGenerator::Mode() const { std::string v = data_.get_attribute_value(1); return v; } @@ -17281,7 +17281,7 @@ void Ifc4x3_add2::IfcTextureCoordinateGenerator::setParameter(boost::optional< s const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateGenerator::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1193]); } const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1193]); } Ifc4x3_add2::IfcTextureCoordinateGenerator::IfcTextureCoordinateGenerator(IfcEntityInstanceData&& e) : IfcTextureCoordinate(std::move(e)) { } -Ifc4x3_add2::IfcTextureCoordinateGenerator::IfcTextureCoordinateGenerator(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, std::string v2_Mode, boost::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) : IfcTextureCoordinate(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } +Ifc4x3_add2::IfcTextureCoordinateGenerator::IfcTextureCoordinateGenerator(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, std::string v2_Mode, boost::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) : IfcTextureCoordinate(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); }; populate_derived(); } // Function implementations for IfcTextureCoordinateIndices std::vector< int > /*[3:?]*/ Ifc4x3_add2::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int > /*[3:?]*/ v = data_.get_attribute_value(0); return v; } @@ -17294,7 +17294,7 @@ void Ifc4x3_add2::IfcTextureCoordinateIndices::setTexCoordsOf(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateIndices::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1194]); } const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateIndices::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1194]); } Ifc4x3_add2::IfcTextureCoordinateIndices::IfcTextureCoordinateIndices(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcTextureCoordinateIndices::IfcTextureCoordinateIndices(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace* v2_TexCoordsOf) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, v2_TexCoordsOf ? v2_TexCoordsOf->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTextureCoordinateIndices::IfcTextureCoordinateIndices(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace* v2_TexCoordsOf) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, v2_TexCoordsOf ? v2_TexCoordsOf->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTextureCoordinateIndicesWithVoids std::vector< std::vector< int > > Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int > > v = data_.get_attribute_value(2); return v; } @@ -17304,7 +17304,7 @@ void Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices( const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1195]); } const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1195]); } Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::IfcTextureCoordinateIndicesWithVoids(IfcEntityInstanceData&& e) : IfcTextureCoordinateIndices(std::move(e)) { } -Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::IfcTextureCoordinateIndicesWithVoids(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace* v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices) : IfcTextureCoordinateIndices(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, v2_TexCoordsOf ? v2_TexCoordsOf->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_InnerTexCoordIndices)); } +Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::IfcTextureCoordinateIndicesWithVoids(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace* v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices) : IfcTextureCoordinateIndices(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, v2_TexCoordsOf ? v2_TexCoordsOf->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(2, (v3_InnerTexCoordIndices));; populate_derived(); } // Function implementations for IfcTextureMap aggregate_of< ::Ifc4x3_add2::IfcTextureVertex >::ptr Ifc4x3_add2::IfcTextureMap::Vertices() const { aggregate_of_instance::ptr es = data_.get_attribute_value(1); return es->as< ::Ifc4x3_add2::IfcTextureVertex >(); } @@ -17316,7 +17316,7 @@ void Ifc4x3_add2::IfcTextureMap::setMappedTo(::Ifc4x3_add2::IfcFace* v) { set_at const IfcParse::entity& Ifc4x3_add2::IfcTextureMap::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1196]); } const IfcParse::entity& Ifc4x3_add2::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1196]); } Ifc4x3_add2::IfcTextureMap::IfcTextureMap(IfcEntityInstanceData&& e) : IfcTextureCoordinate(std::move(e)) { } -Ifc4x3_add2::IfcTextureMap::IfcTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, aggregate_of< ::Ifc4x3_add2::IfcTextureVertex >::ptr v2_Vertices, ::Ifc4x3_add2::IfcFace* v3_MappedTo) : IfcTextureCoordinate(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, (v2_Vertices)->generalize());set_attribute_value(2, v3_MappedTo ? v3_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTextureMap::IfcTextureMap(aggregate_of< ::Ifc4x3_add2::IfcSurfaceTexture >::ptr v1_Maps, aggregate_of< ::Ifc4x3_add2::IfcTextureVertex >::ptr v2_Vertices, ::Ifc4x3_add2::IfcFace* v3_MappedTo) : IfcTextureCoordinate(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, (v1_Maps)->generalize());set_attribute_value(1, (v2_Vertices)->generalize());set_attribute_value(2, v3_MappedTo ? v3_MappedTo->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTextureVertex std::vector< double > /*[2:2]*/ Ifc4x3_add2::IfcTextureVertex::Coordinates() const { std::vector< double > /*[2:2]*/ v = data_.get_attribute_value(0); return v; } @@ -17326,7 +17326,7 @@ void Ifc4x3_add2::IfcTextureVertex::setCoordinates(std::vector< double > /*[2:2] const IfcParse::entity& Ifc4x3_add2::IfcTextureVertex::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1197]); } const IfcParse::entity& Ifc4x3_add2::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1197]); } Ifc4x3_add2::IfcTextureVertex::IfcTextureVertex(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTextureVertex::IfcTextureVertex(std::vector< double > /*[2:2]*/ v1_Coordinates) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Coordinates)); } +Ifc4x3_add2::IfcTextureVertex::IfcTextureVertex(std::vector< double > /*[2:2]*/ v1_Coordinates) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Coordinates));; populate_derived(); } // Function implementations for IfcTextureVertexList std::vector< std::vector< double > > Ifc4x3_add2::IfcTextureVertexList::TexCoordsList() const { std::vector< std::vector< double > > v = data_.get_attribute_value(0); return v; } @@ -17336,7 +17336,7 @@ void Ifc4x3_add2::IfcTextureVertexList::setTexCoordsList(std::vector< std::vecto const IfcParse::entity& Ifc4x3_add2::IfcTextureVertexList::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1198]); } const IfcParse::entity& Ifc4x3_add2::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1198]); } Ifc4x3_add2::IfcTextureVertexList::IfcTextureVertexList(IfcEntityInstanceData&& e) : IfcPresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTextureVertexList::IfcTextureVertexList(std::vector< std::vector< double > > v1_TexCoordsList) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_TexCoordsList)); } +Ifc4x3_add2::IfcTextureVertexList::IfcTextureVertexList(std::vector< std::vector< double > > v1_TexCoordsList) : IfcPresentationItem(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_TexCoordsList));; populate_derived(); } // Function implementations for IfcThirdOrderPolynomialSpiral double Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::CubicTerm() const { double v = data_.get_attribute_value(1); return v; } @@ -17352,7 +17352,7 @@ void Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::setConstantTerm(boost::optional const IfcParse::entity& Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1205]); } const IfcParse::entity& Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1205]); } Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::IfcThirdOrderPolynomialSpiral(IfcEntityInstanceData&& e) : IfcSpiral(std::move(e)) { } -Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::IfcThirdOrderPolynomialSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_CubicTerm, boost::optional< double > v3_QuadraticTerm, boost::optional< double > v4_LinearTerm, boost::optional< double > v5_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CubicTerm)); if (v3_QuadraticTerm) {set_attribute_value(2, (*v3_QuadraticTerm)); } if (v4_LinearTerm) {set_attribute_value(3, (*v4_LinearTerm)); } if (v5_ConstantTerm) {set_attribute_value(4, (*v5_ConstantTerm)); } } +Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::IfcThirdOrderPolynomialSpiral(::Ifc4x3_add2::IfcAxis2Placement* v1_Position, double v2_CubicTerm, boost::optional< double > v3_QuadraticTerm, boost::optional< double > v4_LinearTerm, boost::optional< double > v5_ConstantTerm) : IfcSpiral(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_CubicTerm)); if (v3_QuadraticTerm) {set_attribute_value(2, (*v3_QuadraticTerm)); } if (v4_LinearTerm) {set_attribute_value(3, (*v4_LinearTerm)); } if (v5_ConstantTerm) {set_attribute_value(4, (*v5_ConstantTerm)); }; populate_derived(); } // Function implementations for IfcTimePeriod std::string Ifc4x3_add2::IfcTimePeriod::StartTime() const { std::string v = data_.get_attribute_value(0); return v; } @@ -17364,7 +17364,7 @@ void Ifc4x3_add2::IfcTimePeriod::setEndTime(std::string v) { set_attribute_value const IfcParse::entity& Ifc4x3_add2::IfcTimePeriod::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1209]); } const IfcParse::entity& Ifc4x3_add2::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1209]); } Ifc4x3_add2::IfcTimePeriod::IfcTimePeriod(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcTimePeriod::IfcTimePeriod(std::string v1_StartTime, std::string v2_EndTime) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } +Ifc4x3_add2::IfcTimePeriod::IfcTimePeriod(std::string v1_StartTime, std::string v2_EndTime) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime));; populate_derived(); } // Function implementations for IfcTimeSeries std::string Ifc4x3_add2::IfcTimeSeries::Name() const { std::string v = data_.get_attribute_value(0); return v; } @@ -17389,7 +17389,7 @@ void Ifc4x3_add2::IfcTimeSeries::setUnit(::Ifc4x3_add2::IfcUnit* v) { set_attrib const IfcParse::entity& Ifc4x3_add2::IfcTimeSeries::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1210]); } const IfcParse::entity& Ifc4x3_add2::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1210]); } Ifc4x3_add2::IfcTimeSeries::IfcTimeSeries(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcTimeSeries::IfcTimeSeries(std::string v1_Name, boost::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add2::IfcDataOriginEnum::Value v6_DataOrigin, boost::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit* v8_Unit) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, v8_Unit ? v8_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcTimeSeries::IfcTimeSeries(std::string v1_Name, boost::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add2::IfcDataOriginEnum::Value v6_DataOrigin, boost::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit* v8_Unit) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, v8_Unit ? v8_Unit->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcTimeSeriesValue aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr Ifc4x3_add2::IfcTimeSeriesValue::ListValues() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcValue >(); } @@ -17399,7 +17399,7 @@ void Ifc4x3_add2::IfcTimeSeriesValue::setListValues(aggregate_of< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcTimeSeriesValue::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1212]); } const IfcParse::entity& Ifc4x3_add2::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1212]); } Ifc4x3_add2::IfcTimeSeriesValue::IfcTimeSeriesValue(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcTimeSeriesValue::IfcTimeSeriesValue(aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr v1_ListValues) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_ListValues)->generalize()); } +Ifc4x3_add2::IfcTimeSeriesValue::IfcTimeSeriesValue(aggregate_of< ::Ifc4x3_add2::IfcValue >::ptr v1_ListValues) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_ListValues)->generalize());; populate_derived(); } // Function implementations for IfcTopologicalRepresentationItem @@ -17407,7 +17407,7 @@ Ifc4x3_add2::IfcTimeSeriesValue::IfcTimeSeriesValue(aggregate_of< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcTopologicalRepresentationItem::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1214]); } const IfcParse::entity& Ifc4x3_add2::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1214]); } Ifc4x3_add2::IfcTopologicalRepresentationItem::IfcTopologicalRepresentationItem(IfcEntityInstanceData&& e) : IfcRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcTopologicalRepresentationItem::IfcTopologicalRepresentationItem() : IfcRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcTopologicalRepresentationItem::IfcTopologicalRepresentationItem() : IfcRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcTopologyRepresentation @@ -17415,7 +17415,7 @@ Ifc4x3_add2::IfcTopologicalRepresentationItem::IfcTopologicalRepresentationItem( const IfcParse::entity& Ifc4x3_add2::IfcTopologyRepresentation::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1215]); } const IfcParse::entity& Ifc4x3_add2::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1215]); } Ifc4x3_add2::IfcTopologyRepresentation::IfcTopologyRepresentation(IfcEntityInstanceData&& e) : IfcShapeModel(std::move(e)) { } -Ifc4x3_add2::IfcTopologyRepresentation::IfcTopologyRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcShapeModel(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize()); } +Ifc4x3_add2::IfcTopologyRepresentation::IfcTopologyRepresentation(::Ifc4x3_add2::IfcRepresentationContext* v1_ContextOfItems, boost::optional< std::string > v2_RepresentationIdentifier, boost::optional< std::string > v3_RepresentationType, aggregate_of< ::Ifc4x3_add2::IfcRepresentationItem >::ptr v4_Items) : IfcShapeModel(IfcEntityInstanceData(storage_t(4))) { set_attribute_value(0, v1_ContextOfItems ? v1_ContextOfItems->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, (v4_Items)->generalize());; populate_derived(); } // Function implementations for IfcToroidalSurface double Ifc4x3_add2::IfcToroidalSurface::MajorRadius() const { double v = data_.get_attribute_value(1); return v; } @@ -17427,7 +17427,7 @@ void Ifc4x3_add2::IfcToroidalSurface::setMinorRadius(double v) { set_attribute_v const IfcParse::entity& Ifc4x3_add2::IfcToroidalSurface::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1216]); } const IfcParse::entity& Ifc4x3_add2::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1216]); } Ifc4x3_add2::IfcToroidalSurface::IfcToroidalSurface(IfcEntityInstanceData&& e) : IfcElementarySurface(std::move(e)) { } -Ifc4x3_add2::IfcToroidalSurface::IfcToroidalSurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_MajorRadius, double v3_MinorRadius) : IfcElementarySurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } +Ifc4x3_add2::IfcToroidalSurface::IfcToroidalSurface(::Ifc4x3_add2::IfcAxis2Placement3D* v1_Position, double v2_MajorRadius, double v3_MinorRadius) : IfcElementarySurface(IfcEntityInstanceData(storage_t(3))) { set_attribute_value(0, v1_Position ? v1_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius));; populate_derived(); } // Function implementations for IfcTrackElement boost::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > Ifc4x3_add2::IfcTrackElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTrackElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17437,7 +17437,7 @@ void Ifc4x3_add2::IfcTrackElement::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcTrackElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1218]); } const IfcParse::entity& Ifc4x3_add2::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1218]); } Ifc4x3_add2::IfcTrackElement::IfcTrackElement(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcTrackElement::IfcTrackElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcTrackElement::IfcTrackElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTrackElementType ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value Ifc4x3_add2::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcTrackElementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17447,7 +17447,7 @@ void Ifc4x3_add2::IfcTrackElementType::setPredefinedType(::Ifc4x3_add2::IfcTrack const IfcParse::entity& Ifc4x3_add2::IfcTrackElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1219]); } const IfcParse::entity& Ifc4x3_add2::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1219]); } Ifc4x3_add2::IfcTrackElementType::IfcTrackElementType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcTrackElementType::IfcTrackElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcTrackElementType::IfcTrackElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcTransformer boost::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > Ifc4x3_add2::IfcTransformer::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTransformerTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17457,7 +17457,7 @@ void Ifc4x3_add2::IfcTransformer::setPredefinedType(boost::optional< ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcTransformer::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1221]); } const IfcParse::entity& Ifc4x3_add2::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1221]); } Ifc4x3_add2::IfcTransformer::IfcTransformer(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcTransformer::IfcTransformer(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcTransformer::IfcTransformer(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTransformerType ::Ifc4x3_add2::IfcTransformerTypeEnum::Value Ifc4x3_add2::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_add2::IfcTransformerTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17467,7 +17467,7 @@ void Ifc4x3_add2::IfcTransformerType::setPredefinedType(::Ifc4x3_add2::IfcTransf const IfcParse::entity& Ifc4x3_add2::IfcTransformerType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1222]); } const IfcParse::entity& Ifc4x3_add2::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1222]); } Ifc4x3_add2::IfcTransformerType::IfcTransformerType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcTransformerType::IfcTransformerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransformerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcTransformerType::IfcTransformerType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransformerTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcTransportElement boost::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > Ifc4x3_add2::IfcTransportElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTransportElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17477,7 +17477,7 @@ void Ifc4x3_add2::IfcTransportElement::setPredefinedType(boost::optional< ::Ifc4 const IfcParse::entity& Ifc4x3_add2::IfcTransportElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1228]); } const IfcParse::entity& Ifc4x3_add2::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1228]); } Ifc4x3_add2::IfcTransportElement::IfcTransportElement(IfcEntityInstanceData&& e) : IfcTransportationDevice(std::move(e)) { } -Ifc4x3_add2::IfcTransportElement::IfcTransportElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > v9_PredefinedType) : IfcTransportationDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcTransportElement::IfcTransportElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > v9_PredefinedType) : IfcTransportationDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTransportElementType ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value Ifc4x3_add2::IfcTransportElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcTransportElementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17487,7 +17487,7 @@ void Ifc4x3_add2::IfcTransportElementType::setPredefinedType(::Ifc4x3_add2::IfcT const IfcParse::entity& Ifc4x3_add2::IfcTransportElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1229]); } const IfcParse::entity& Ifc4x3_add2::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1229]); } Ifc4x3_add2::IfcTransportElementType::IfcTransportElementType(IfcEntityInstanceData&& e) : IfcTransportationDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcTransportElementType::IfcTransportElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value v10_PredefinedType) : IfcTransportationDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcTransportElementType::IfcTransportElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value v10_PredefinedType) : IfcTransportationDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcTransportationDevice @@ -17495,7 +17495,7 @@ Ifc4x3_add2::IfcTransportElementType::IfcTransportElementType(std::string v1_Glo const IfcParse::entity& Ifc4x3_add2::IfcTransportationDevice::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1226]); } const IfcParse::entity& Ifc4x3_add2::IfcTransportationDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1226]); } Ifc4x3_add2::IfcTransportationDevice::IfcTransportationDevice(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcTransportationDevice::IfcTransportationDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcTransportationDevice::IfcTransportationDevice(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag) : IfcElement(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcTransportationDeviceType @@ -17503,7 +17503,7 @@ Ifc4x3_add2::IfcTransportationDevice::IfcTransportationDevice(std::string v1_Glo const IfcParse::entity& Ifc4x3_add2::IfcTransportationDeviceType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1227]); } const IfcParse::entity& Ifc4x3_add2::IfcTransportationDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1227]); } Ifc4x3_add2::IfcTransportationDeviceType::IfcTransportationDeviceType(IfcEntityInstanceData&& e) : IfcElementType(std::move(e)) { } -Ifc4x3_add2::IfcTransportationDeviceType::IfcTransportationDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } +Ifc4x3_add2::IfcTransportationDeviceType::IfcTransportationDeviceType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType) : IfcElementType(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; populate_derived(); } // Function implementations for IfcTrapeziumProfileDef double Ifc4x3_add2::IfcTrapeziumProfileDef::BottomXDim() const { double v = data_.get_attribute_value(3); return v; } @@ -17519,7 +17519,7 @@ void Ifc4x3_add2::IfcTrapeziumProfileDef::setTopXOffset(double v) { set_attribut const IfcParse::entity& Ifc4x3_add2::IfcTrapeziumProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1231]); } const IfcParse::entity& Ifc4x3_add2::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1231]); } Ifc4x3_add2::IfcTrapeziumProfileDef::IfcTrapeziumProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcTrapeziumProfileDef::IfcTrapeziumProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +Ifc4x3_add2::IfcTrapeziumProfileDef::IfcTrapeziumProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(7))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset));; populate_derived(); } // Function implementations for IfcTriangulatedFaceSet boost::optional< std::vector< std::vector< double > > > Ifc4x3_add2::IfcTriangulatedFaceSet::Normals() const { if(data_.get_attribute_value(1).isNull()) { return boost::none; } std::vector< std::vector< double > > v = data_.get_attribute_value(1); return v; } @@ -17535,7 +17535,7 @@ void Ifc4x3_add2::IfcTriangulatedFaceSet::setPnIndex(boost::optional< std::vecto const IfcParse::entity& Ifc4x3_add2::IfcTriangulatedFaceSet::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1232]); } const IfcParse::entity& Ifc4x3_add2::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1232]); } Ifc4x3_add2::IfcTriangulatedFaceSet::IfcTriangulatedFaceSet(IfcEntityInstanceData&& e) : IfcTessellatedFaceSet(std::move(e)) { } -Ifc4x3_add2::IfcTriangulatedFaceSet::IfcTriangulatedFaceSet(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates, boost::optional< std::vector< std::vector< double > > > v2_Normals, boost::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, boost::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) : IfcTessellatedFaceSet(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Normals) {set_attribute_value(1, (*v2_Normals)); } if (v3_Closed) {set_attribute_value(2, (*v3_Closed)); }set_attribute_value(3, (v4_CoordIndex)); if (v5_PnIndex) {set_attribute_value(4, (*v5_PnIndex)); } } +Ifc4x3_add2::IfcTriangulatedFaceSet::IfcTriangulatedFaceSet(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates, boost::optional< std::vector< std::vector< double > > > v2_Normals, boost::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, boost::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) : IfcTessellatedFaceSet(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Normals) {set_attribute_value(1, (*v2_Normals)); } if (v3_Closed) {set_attribute_value(2, (*v3_Closed)); }set_attribute_value(3, (v4_CoordIndex)); if (v5_PnIndex) {set_attribute_value(4, (*v5_PnIndex)); }; populate_derived(); } // Function implementations for IfcTriangulatedIrregularNetwork std::vector< int > /*[1:?]*/ Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = data_.get_attribute_value(5); return v; } @@ -17545,7 +17545,7 @@ void Ifc4x3_add2::IfcTriangulatedIrregularNetwork::setFlags(std::vector< int > / const IfcParse::entity& Ifc4x3_add2::IfcTriangulatedIrregularNetwork::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1233]); } const IfcParse::entity& Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1233]); } Ifc4x3_add2::IfcTriangulatedIrregularNetwork::IfcTriangulatedIrregularNetwork(IfcEntityInstanceData&& e) : IfcTriangulatedFaceSet(std::move(e)) { } -Ifc4x3_add2::IfcTriangulatedIrregularNetwork::IfcTriangulatedIrregularNetwork(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates, boost::optional< std::vector< std::vector< double > > > v2_Normals, boost::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, boost::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) : IfcTriangulatedFaceSet(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Normals) {set_attribute_value(1, (*v2_Normals)); } if (v3_Closed) {set_attribute_value(2, (*v3_Closed)); }set_attribute_value(3, (v4_CoordIndex)); if (v5_PnIndex) {set_attribute_value(4, (*v5_PnIndex)); }set_attribute_value(5, (v6_Flags)); } +Ifc4x3_add2::IfcTriangulatedIrregularNetwork::IfcTriangulatedIrregularNetwork(::Ifc4x3_add2::IfcCartesianPointList3D* v1_Coordinates, boost::optional< std::vector< std::vector< double > > > v2_Normals, boost::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, boost::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) : IfcTriangulatedFaceSet(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, v1_Coordinates ? v1_Coordinates->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v2_Normals) {set_attribute_value(1, (*v2_Normals)); } if (v3_Closed) {set_attribute_value(2, (*v3_Closed)); }set_attribute_value(3, (v4_CoordIndex)); if (v5_PnIndex) {set_attribute_value(4, (*v5_PnIndex)); }set_attribute_value(5, (v6_Flags));; populate_derived(); } // Function implementations for IfcTrimmedCurve ::Ifc4x3_add2::IfcCurve* Ifc4x3_add2::IfcTrimmedCurve::BasisCurve() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcCurve>(true); } @@ -17563,7 +17563,7 @@ void Ifc4x3_add2::IfcTrimmedCurve::setMasterRepresentation(::Ifc4x3_add2::IfcTri const IfcParse::entity& Ifc4x3_add2::IfcTrimmedCurve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1234]); } const IfcParse::entity& Ifc4x3_add2::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1234]); } Ifc4x3_add2::IfcTrimmedCurve::IfcTrimmedCurve(IfcEntityInstanceData&& e) : IfcBoundedCurve(std::move(e)) { } -Ifc4x3_add2::IfcTrimmedCurve::IfcTrimmedCurve(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, aggregate_of< ::Ifc4x3_add2::IfcTrimmingSelect >::ptr v2_Trim1, aggregate_of< ::Ifc4x3_add2::IfcTrimmingSelect >::ptr v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add2::IfcTrimmingPreference::Value v5_MasterRepresentation) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Trim1)->generalize());set_attribute_value(2, (v3_Trim2)->generalize());set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +Ifc4x3_add2::IfcTrimmedCurve::IfcTrimmedCurve(::Ifc4x3_add2::IfcCurve* v1_BasisCurve, aggregate_of< ::Ifc4x3_add2::IfcTrimmingSelect >::ptr v2_Trim1, aggregate_of< ::Ifc4x3_add2::IfcTrimmingSelect >::ptr v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add2::IfcTrimmingPreference::Value v5_MasterRepresentation) : IfcBoundedCurve(IfcEntityInstanceData(storage_t(5))) { set_attribute_value(0, v1_BasisCurve ? v1_BasisCurve->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Trim1)->generalize());set_attribute_value(2, (v3_Trim2)->generalize());set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation)));; populate_derived(); } // Function implementations for IfcTubeBundle boost::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > Ifc4x3_add2::IfcTubeBundle::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcTubeBundleTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17573,7 +17573,7 @@ void Ifc4x3_add2::IfcTubeBundle::setPredefinedType(boost::optional< ::Ifc4x3_add const IfcParse::entity& Ifc4x3_add2::IfcTubeBundle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1238]); } const IfcParse::entity& Ifc4x3_add2::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1238]); } Ifc4x3_add2::IfcTubeBundle::IfcTubeBundle(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcTubeBundle::IfcTubeBundle(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcTubeBundle::IfcTubeBundle(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcTubeBundleType ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value Ifc4x3_add2::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_add2::IfcTubeBundleTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17583,7 +17583,7 @@ void Ifc4x3_add2::IfcTubeBundleType::setPredefinedType(::Ifc4x3_add2::IfcTubeBun const IfcParse::entity& Ifc4x3_add2::IfcTubeBundleType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1239]); } const IfcParse::entity& Ifc4x3_add2::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1239]); } Ifc4x3_add2::IfcTubeBundleType::IfcTubeBundleType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcTubeBundleType::IfcTubeBundleType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcTubeBundleType::IfcTubeBundleType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcTypeObject boost::optional< std::string > Ifc4x3_add2::IfcTypeObject::ApplicableOccurrence() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(4); return v; } @@ -17596,7 +17596,7 @@ void Ifc4x3_add2::IfcTypeObject::setHasPropertySets(boost::optional< aggregate_o const IfcParse::entity& Ifc4x3_add2::IfcTypeObject::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1241]); } const IfcParse::entity& Ifc4x3_add2::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1241]); } Ifc4x3_add2::IfcTypeObject::IfcTypeObject(IfcEntityInstanceData&& e) : IfcObjectDefinition(std::move(e)) { } -Ifc4x3_add2::IfcTypeObject::IfcTypeObject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets) : IfcObjectDefinition(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } } +Ifc4x3_add2::IfcTypeObject::IfcTypeObject(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets) : IfcObjectDefinition(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); }; populate_derived(); } // Function implementations for IfcTypeProcess boost::optional< std::string > Ifc4x3_add2::IfcTypeProcess::Identification() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(6); return v; } @@ -17611,7 +17611,7 @@ void Ifc4x3_add2::IfcTypeProcess::setProcessType(boost::optional< std::string > const IfcParse::entity& Ifc4x3_add2::IfcTypeProcess::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1242]); } const IfcParse::entity& Ifc4x3_add2::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1242]); } Ifc4x3_add2::IfcTypeProcess::IfcTypeProcess(IfcEntityInstanceData&& e) : IfcTypeObject(std::move(e)) { } -Ifc4x3_add2::IfcTypeProcess::IfcTypeProcess(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType) : IfcTypeObject(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); } } +Ifc4x3_add2::IfcTypeProcess::IfcTypeProcess(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ProcessType) : IfcTypeObject(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }; populate_derived(); } // Function implementations for IfcTypeProduct boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > Ifc4x3_add2::IfcTypeProduct::RepresentationMaps() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(6); return es->as< ::Ifc4x3_add2::IfcRepresentationMap >(); } @@ -17624,7 +17624,7 @@ void Ifc4x3_add2::IfcTypeProduct::setTag(boost::optional< std::string > v) { if const IfcParse::entity& Ifc4x3_add2::IfcTypeProduct::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1243]); } const IfcParse::entity& Ifc4x3_add2::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1243]); } Ifc4x3_add2::IfcTypeProduct::IfcTypeProduct(IfcEntityInstanceData&& e) : IfcTypeObject(std::move(e)) { } -Ifc4x3_add2::IfcTypeProduct::IfcTypeProduct(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag) : IfcTypeObject(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } +Ifc4x3_add2::IfcTypeProduct::IfcTypeProduct(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag) : IfcTypeObject(IfcEntityInstanceData(storage_t(8))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; populate_derived(); } // Function implementations for IfcTypeResource boost::optional< std::string > Ifc4x3_add2::IfcTypeResource::Identification() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(6); return v; } @@ -17639,7 +17639,7 @@ void Ifc4x3_add2::IfcTypeResource::setResourceType(boost::optional< std::string const IfcParse::entity& Ifc4x3_add2::IfcTypeResource::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1244]); } const IfcParse::entity& Ifc4x3_add2::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1244]); } Ifc4x3_add2::IfcTypeResource::IfcTypeResource(IfcEntityInstanceData&& e) : IfcTypeObject(std::move(e)) { } -Ifc4x3_add2::IfcTypeResource::IfcTypeResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType) : IfcTypeObject(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } } +Ifc4x3_add2::IfcTypeResource::IfcTypeResource(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< std::string > v7_Identification, boost::optional< std::string > v8_LongDescription, boost::optional< std::string > v9_ResourceType) : IfcTypeObject(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); }; populate_derived(); } // Function implementations for IfcUShapeProfileDef double Ifc4x3_add2::IfcUShapeProfileDef::Depth() const { double v = data_.get_attribute_value(3); return v; } @@ -17661,7 +17661,7 @@ void Ifc4x3_add2::IfcUShapeProfileDef::setFlangeSlope(boost::optional< double > const IfcParse::entity& Ifc4x3_add2::IfcUShapeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1255]); } const IfcParse::entity& Ifc4x3_add2::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1255]); } Ifc4x3_add2::IfcUShapeProfileDef::IfcUShapeProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcUShapeProfileDef::IfcUShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_EdgeRadius, boost::optional< double > v10_FlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_EdgeRadius) {set_attribute_value(8, (*v9_EdgeRadius)); } if (v10_FlangeSlope) {set_attribute_value(9, (*v10_FlangeSlope)); } } +Ifc4x3_add2::IfcUShapeProfileDef::IfcUShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_EdgeRadius, boost::optional< double > v10_FlangeSlope) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_EdgeRadius) {set_attribute_value(8, (*v9_EdgeRadius)); } if (v10_FlangeSlope) {set_attribute_value(9, (*v10_FlangeSlope)); }; populate_derived(); } // Function implementations for IfcUnitAssignment aggregate_of< ::Ifc4x3_add2::IfcUnit >::ptr Ifc4x3_add2::IfcUnitAssignment::Units() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcUnit >(); } @@ -17671,7 +17671,7 @@ void Ifc4x3_add2::IfcUnitAssignment::setUnits(aggregate_of< ::Ifc4x3_add2::IfcUn const IfcParse::entity& Ifc4x3_add2::IfcUnitAssignment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1252]); } const IfcParse::entity& Ifc4x3_add2::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1252]); } Ifc4x3_add2::IfcUnitAssignment::IfcUnitAssignment(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcUnitAssignment::IfcUnitAssignment(aggregate_of< ::Ifc4x3_add2::IfcUnit >::ptr v1_Units) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Units)->generalize()); } +Ifc4x3_add2::IfcUnitAssignment::IfcUnitAssignment(aggregate_of< ::Ifc4x3_add2::IfcUnit >::ptr v1_Units) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, (v1_Units)->generalize());; populate_derived(); } // Function implementations for IfcUnitaryControlElement boost::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_add2::IfcUnitaryControlElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17681,7 +17681,7 @@ void Ifc4x3_add2::IfcUnitaryControlElement::setPredefinedType(boost::optional< : const IfcParse::entity& Ifc4x3_add2::IfcUnitaryControlElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1246]); } const IfcParse::entity& Ifc4x3_add2::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1246]); } Ifc4x3_add2::IfcUnitaryControlElement::IfcUnitaryControlElement(IfcEntityInstanceData&& e) : IfcDistributionControlElement(std::move(e)) { } -Ifc4x3_add2::IfcUnitaryControlElement::IfcUnitaryControlElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcUnitaryControlElement::IfcUnitaryControlElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) : IfcDistributionControlElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_add2::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17691,7 +17691,7 @@ void Ifc4x3_add2::IfcUnitaryControlElementType::setPredefinedType(::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcUnitaryControlElementType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1247]); } const IfcParse::entity& Ifc4x3_add2::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1247]); } Ifc4x3_add2::IfcUnitaryControlElementType::IfcUnitaryControlElementType(IfcEntityInstanceData&& e) : IfcDistributionControlElementType(std::move(e)) { } -Ifc4x3_add2::IfcUnitaryControlElementType::IfcUnitaryControlElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcUnitaryControlElementType::IfcUnitaryControlElementType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) : IfcDistributionControlElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcUnitaryEquipment boost::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_add2::IfcUnitaryEquipment::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17701,7 +17701,7 @@ void Ifc4x3_add2::IfcUnitaryEquipment::setPredefinedType(boost::optional< ::Ifc4 const IfcParse::entity& Ifc4x3_add2::IfcUnitaryEquipment::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1249]); } const IfcParse::entity& Ifc4x3_add2::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1249]); } Ifc4x3_add2::IfcUnitaryEquipment::IfcUnitaryEquipment(IfcEntityInstanceData&& e) : IfcEnergyConversionDevice(std::move(e)) { } -Ifc4x3_add2::IfcUnitaryEquipment::IfcUnitaryEquipment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcUnitaryEquipment::IfcUnitaryEquipment(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) : IfcEnergyConversionDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_add2::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17711,7 +17711,7 @@ void Ifc4x3_add2::IfcUnitaryEquipmentType::setPredefinedType(::Ifc4x3_add2::IfcU const IfcParse::entity& Ifc4x3_add2::IfcUnitaryEquipmentType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1250]); } const IfcParse::entity& Ifc4x3_add2::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1250]); } Ifc4x3_add2::IfcUnitaryEquipmentType::IfcUnitaryEquipmentType(IfcEntityInstanceData&& e) : IfcEnergyConversionDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcUnitaryEquipmentType::IfcUnitaryEquipmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcUnitaryEquipmentType::IfcUnitaryEquipmentType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) : IfcEnergyConversionDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcValve boost::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > Ifc4x3_add2::IfcValve::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcValveTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17721,7 +17721,7 @@ void Ifc4x3_add2::IfcValve::setPredefinedType(boost::optional< ::Ifc4x3_add2::If const IfcParse::entity& Ifc4x3_add2::IfcValve::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1257]); } const IfcParse::entity& Ifc4x3_add2::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1257]); } Ifc4x3_add2::IfcValve::IfcValve(IfcEntityInstanceData&& e) : IfcFlowController(std::move(e)) { } -Ifc4x3_add2::IfcValve::IfcValve(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcValve::IfcValve(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > v9_PredefinedType) : IfcFlowController(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcValveType ::Ifc4x3_add2::IfcValveTypeEnum::Value Ifc4x3_add2::IfcValveType::PredefinedType() const { return ::Ifc4x3_add2::IfcValveTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17731,7 +17731,7 @@ void Ifc4x3_add2::IfcValveType::setPredefinedType(::Ifc4x3_add2::IfcValveTypeEnu const IfcParse::entity& Ifc4x3_add2::IfcValveType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1258]); } const IfcParse::entity& Ifc4x3_add2::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1258]); } Ifc4x3_add2::IfcValveType::IfcValveType(IfcEntityInstanceData&& e) : IfcFlowControllerType(std::move(e)) { } -Ifc4x3_add2::IfcValveType::IfcValveType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcValveTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcValveType::IfcValveType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcValveTypeEnum::Value v10_PredefinedType) : IfcFlowControllerType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcVector ::Ifc4x3_add2::IfcDirection* Ifc4x3_add2::IfcVector::Orientation() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcDirection>(true); } @@ -17743,7 +17743,7 @@ void Ifc4x3_add2::IfcVector::setMagnitude(double v) { set_attribute_value(1, v); const IfcParse::entity& Ifc4x3_add2::IfcVector::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1261]); } const IfcParse::entity& Ifc4x3_add2::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1261]); } Ifc4x3_add2::IfcVector::IfcVector(IfcEntityInstanceData&& e) : IfcGeometricRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcVector::IfcVector(::Ifc4x3_add2::IfcDirection* v1_Orientation, double v2_Magnitude) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Orientation ? v1_Orientation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Magnitude)); } +Ifc4x3_add2::IfcVector::IfcVector(::Ifc4x3_add2::IfcDirection* v1_Orientation, double v2_Magnitude) : IfcGeometricRepresentationItem(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, v1_Orientation ? v1_Orientation->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(1, (v2_Magnitude));; populate_derived(); } // Function implementations for IfcVehicle boost::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > Ifc4x3_add2::IfcVehicle::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcVehicleTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17753,7 +17753,7 @@ void Ifc4x3_add2::IfcVehicle::setPredefinedType(boost::optional< ::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcVehicle::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1263]); } const IfcParse::entity& Ifc4x3_add2::IfcVehicle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1263]); } Ifc4x3_add2::IfcVehicle::IfcVehicle(IfcEntityInstanceData&& e) : IfcTransportationDevice(std::move(e)) { } -Ifc4x3_add2::IfcVehicle::IfcVehicle(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > v9_PredefinedType) : IfcTransportationDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcVehicle::IfcVehicle(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > v9_PredefinedType) : IfcTransportationDevice(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcVehicleType ::Ifc4x3_add2::IfcVehicleTypeEnum::Value Ifc4x3_add2::IfcVehicleType::PredefinedType() const { return ::Ifc4x3_add2::IfcVehicleTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17763,7 +17763,7 @@ void Ifc4x3_add2::IfcVehicleType::setPredefinedType(::Ifc4x3_add2::IfcVehicleTyp const IfcParse::entity& Ifc4x3_add2::IfcVehicleType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1264]); } const IfcParse::entity& Ifc4x3_add2::IfcVehicleType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1264]); } Ifc4x3_add2::IfcVehicleType::IfcVehicleType(IfcEntityInstanceData&& e) : IfcTransportationDeviceType(std::move(e)) { } -Ifc4x3_add2::IfcVehicleType::IfcVehicleType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVehicleTypeEnum::Value v10_PredefinedType) : IfcTransportationDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcVehicleType::IfcVehicleType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVehicleTypeEnum::Value v10_PredefinedType) : IfcTransportationDeviceType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcVertex @@ -17771,7 +17771,7 @@ Ifc4x3_add2::IfcVehicleType::IfcVehicleType(std::string v1_GlobalId, ::Ifc4x3_ad const IfcParse::entity& Ifc4x3_add2::IfcVertex::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1266]); } const IfcParse::entity& Ifc4x3_add2::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1266]); } Ifc4x3_add2::IfcVertex::IfcVertex(IfcEntityInstanceData&& e) : IfcTopologicalRepresentationItem(std::move(e)) { } -Ifc4x3_add2::IfcVertex::IfcVertex() : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(0))) { } +Ifc4x3_add2::IfcVertex::IfcVertex() : IfcTopologicalRepresentationItem(IfcEntityInstanceData(storage_t(0))) { ; populate_derived(); } // Function implementations for IfcVertexLoop ::Ifc4x3_add2::IfcVertex* Ifc4x3_add2::IfcVertexLoop::LoopVertex() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcVertex>(true); } @@ -17781,7 +17781,7 @@ void Ifc4x3_add2::IfcVertexLoop::setLoopVertex(::Ifc4x3_add2::IfcVertex* v) { se const IfcParse::entity& Ifc4x3_add2::IfcVertexLoop::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1267]); } const IfcParse::entity& Ifc4x3_add2::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1267]); } Ifc4x3_add2::IfcVertexLoop::IfcVertexLoop(IfcEntityInstanceData&& e) : IfcLoop(std::move(e)) { } -Ifc4x3_add2::IfcVertexLoop::IfcVertexLoop(::Ifc4x3_add2::IfcVertex* v1_LoopVertex) : IfcLoop(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_LoopVertex ? v1_LoopVertex->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcVertexLoop::IfcVertexLoop(::Ifc4x3_add2::IfcVertex* v1_LoopVertex) : IfcLoop(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_LoopVertex ? v1_LoopVertex->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcVertexPoint ::Ifc4x3_add2::IfcPoint* Ifc4x3_add2::IfcVertexPoint::VertexGeometry() const { return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(0)))->as<::Ifc4x3_add2::IfcPoint>(true); } @@ -17791,7 +17791,7 @@ void Ifc4x3_add2::IfcVertexPoint::setVertexGeometry(::Ifc4x3_add2::IfcPoint* v) const IfcParse::entity& Ifc4x3_add2::IfcVertexPoint::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1268]); } const IfcParse::entity& Ifc4x3_add2::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1268]); } Ifc4x3_add2::IfcVertexPoint::IfcVertexPoint(IfcEntityInstanceData&& e) : IfcVertex(std::move(e)) { } -Ifc4x3_add2::IfcVertexPoint::IfcVertexPoint(::Ifc4x3_add2::IfcPoint* v1_VertexGeometry) : IfcVertex(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_VertexGeometry ? v1_VertexGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcVertexPoint::IfcVertexPoint(::Ifc4x3_add2::IfcPoint* v1_VertexGeometry) : IfcVertex(IfcEntityInstanceData(storage_t(1))) { set_attribute_value(0, v1_VertexGeometry ? v1_VertexGeometry->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcVibrationDamper boost::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > Ifc4x3_add2::IfcVibrationDamper::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17801,7 +17801,7 @@ void Ifc4x3_add2::IfcVibrationDamper::setPredefinedType(boost::optional< ::Ifc4x const IfcParse::entity& Ifc4x3_add2::IfcVibrationDamper::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1269]); } const IfcParse::entity& Ifc4x3_add2::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1269]); } Ifc4x3_add2::IfcVibrationDamper::IfcVibrationDamper(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcVibrationDamper::IfcVibrationDamper(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcVibrationDamper::IfcVibrationDamper(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcVibrationDamperType ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value Ifc4x3_add2::IfcVibrationDamperType::PredefinedType() const { return ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17811,7 +17811,7 @@ void Ifc4x3_add2::IfcVibrationDamperType::setPredefinedType(::Ifc4x3_add2::IfcVi const IfcParse::entity& Ifc4x3_add2::IfcVibrationDamperType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1270]); } const IfcParse::entity& Ifc4x3_add2::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1270]); } Ifc4x3_add2::IfcVibrationDamperType::IfcVibrationDamperType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcVibrationDamperType::IfcVibrationDamperType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcVibrationDamperType::IfcVibrationDamperType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcVibrationIsolator boost::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_add2::IfcVibrationIsolator::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17821,7 +17821,7 @@ void Ifc4x3_add2::IfcVibrationIsolator::setPredefinedType(boost::optional< ::Ifc const IfcParse::entity& Ifc4x3_add2::IfcVibrationIsolator::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1272]); } const IfcParse::entity& Ifc4x3_add2::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1272]); } Ifc4x3_add2::IfcVibrationIsolator::IfcVibrationIsolator(IfcEntityInstanceData&& e) : IfcElementComponent(std::move(e)) { } -Ifc4x3_add2::IfcVibrationIsolator::IfcVibrationIsolator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcVibrationIsolator::IfcVibrationIsolator(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) : IfcElementComponent(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_add2::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17831,7 +17831,7 @@ void Ifc4x3_add2::IfcVibrationIsolatorType::setPredefinedType(::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcVibrationIsolatorType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1273]); } const IfcParse::entity& Ifc4x3_add2::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1273]); } Ifc4x3_add2::IfcVibrationIsolatorType::IfcVibrationIsolatorType(IfcEntityInstanceData&& e) : IfcElementComponentType(std::move(e)) { } -Ifc4x3_add2::IfcVibrationIsolatorType::IfcVibrationIsolatorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcVibrationIsolatorType::IfcVibrationIsolatorType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) : IfcElementComponentType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcVirtualElement boost::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > Ifc4x3_add2::IfcVirtualElement::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcVirtualElementTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17841,7 +17841,7 @@ void Ifc4x3_add2::IfcVirtualElement::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcVirtualElement::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1275]); } const IfcParse::entity& Ifc4x3_add2::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1275]); } Ifc4x3_add2::IfcVirtualElement::IfcVirtualElement(IfcEntityInstanceData&& e) : IfcElement(std::move(e)) { } -Ifc4x3_add2::IfcVirtualElement::IfcVirtualElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) : IfcElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcVirtualElement::IfcVirtualElement(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) : IfcElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcVirtualGridIntersection aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr Ifc4x3_add2::IfcVirtualGridIntersection::IntersectingAxes() const { aggregate_of_instance::ptr es = data_.get_attribute_value(0); return es->as< ::Ifc4x3_add2::IfcGridAxis >(); } @@ -17853,7 +17853,7 @@ void Ifc4x3_add2::IfcVirtualGridIntersection::setOffsetDistances(std::vector< do const IfcParse::entity& Ifc4x3_add2::IfcVirtualGridIntersection::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1277]); } const IfcParse::entity& Ifc4x3_add2::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1277]); } Ifc4x3_add2::IfcVirtualGridIntersection::IfcVirtualGridIntersection(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcVirtualGridIntersection::IfcVirtualGridIntersection(aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_IntersectingAxes)->generalize());set_attribute_value(1, (v2_OffsetDistances)); } +Ifc4x3_add2::IfcVirtualGridIntersection::IfcVirtualGridIntersection(aggregate_of< ::Ifc4x3_add2::IfcGridAxis >::ptr v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_IntersectingAxes)->generalize());set_attribute_value(1, (v2_OffsetDistances));; populate_derived(); } // Function implementations for IfcVoidingFeature boost::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_add2::IfcVoidingFeature::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17863,7 +17863,7 @@ void Ifc4x3_add2::IfcVoidingFeature::setPredefinedType(boost::optional< ::Ifc4x3 const IfcParse::entity& Ifc4x3_add2::IfcVoidingFeature::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1278]); } const IfcParse::entity& Ifc4x3_add2::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1278]); } Ifc4x3_add2::IfcVoidingFeature::IfcVoidingFeature(IfcEntityInstanceData&& e) : IfcFeatureElementSubtraction(std::move(e)) { } -Ifc4x3_add2::IfcVoidingFeature::IfcVoidingFeature(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementSubtraction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcVoidingFeature::IfcVoidingFeature(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) : IfcFeatureElementSubtraction(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcWall boost::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > Ifc4x3_add2::IfcWall::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcWallTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17873,7 +17873,7 @@ void Ifc4x3_add2::IfcWall::setPredefinedType(boost::optional< ::Ifc4x3_add2::Ifc const IfcParse::entity& Ifc4x3_add2::IfcWall::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1282]); } const IfcParse::entity& Ifc4x3_add2::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1282]); } Ifc4x3_add2::IfcWall::IfcWall(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcWall::IfcWall(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcWall::IfcWall(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcWallStandardCase @@ -17881,7 +17881,7 @@ Ifc4x3_add2::IfcWall::IfcWall(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHi const IfcParse::entity& Ifc4x3_add2::IfcWallStandardCase::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1283]); } const IfcParse::entity& Ifc4x3_add2::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1283]); } Ifc4x3_add2::IfcWallStandardCase::IfcWallStandardCase(IfcEntityInstanceData&& e) : IfcWall(std::move(e)) { } -Ifc4x3_add2::IfcWallStandardCase::IfcWallStandardCase(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) : IfcWall(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcWallStandardCase::IfcWallStandardCase(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) : IfcWall(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcWallType ::Ifc4x3_add2::IfcWallTypeEnum::Value Ifc4x3_add2::IfcWallType::PredefinedType() const { return ::Ifc4x3_add2::IfcWallTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17891,7 +17891,7 @@ void Ifc4x3_add2::IfcWallType::setPredefinedType(::Ifc4x3_add2::IfcWallTypeEnum: const IfcParse::entity& Ifc4x3_add2::IfcWallType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1284]); } const IfcParse::entity& Ifc4x3_add2::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1284]); } Ifc4x3_add2::IfcWallType::IfcWallType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcWallType::IfcWallType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWallTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcWallType::IfcWallType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWallTypeEnum::Value v10_PredefinedType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcWasteTerminal boost::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > Ifc4x3_add2::IfcWasteTerminal::PredefinedType() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::FromString(data_.get_attribute_value(8)); } @@ -17901,7 +17901,7 @@ void Ifc4x3_add2::IfcWasteTerminal::setPredefinedType(boost::optional< ::Ifc4x3_ const IfcParse::entity& Ifc4x3_add2::IfcWasteTerminal::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1289]); } const IfcParse::entity& Ifc4x3_add2::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1289]); } Ifc4x3_add2::IfcWasteTerminal::IfcWasteTerminal(IfcEntityInstanceData&& e) : IfcFlowTerminal(std::move(e)) { } -Ifc4x3_add2::IfcWasteTerminal::IfcWasteTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcWasteTerminal::IfcWasteTerminal(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) : IfcFlowTerminal(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcWasteTerminalType ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value Ifc4x3_add2::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -17911,7 +17911,7 @@ void Ifc4x3_add2::IfcWasteTerminalType::setPredefinedType(::Ifc4x3_add2::IfcWast const IfcParse::entity& Ifc4x3_add2::IfcWasteTerminalType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1290]); } const IfcParse::entity& Ifc4x3_add2::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1290]); } Ifc4x3_add2::IfcWasteTerminalType::IfcWasteTerminalType(IfcEntityInstanceData&& e) : IfcFlowTerminalType(std::move(e)) { } -Ifc4x3_add2::IfcWasteTerminalType::IfcWasteTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +Ifc4x3_add2::IfcWasteTerminalType::IfcWasteTerminalType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) : IfcFlowTerminalType(IfcEntityInstanceData(storage_t(10))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; populate_derived(); } // Function implementations for IfcWellKnownText std::string Ifc4x3_add2::IfcWellKnownText::WellKnownText() const { std::string v = data_.get_attribute_value(0); return v; } @@ -17923,7 +17923,7 @@ void Ifc4x3_add2::IfcWellKnownText::setCoordinateReferenceSystem(::Ifc4x3_add2:: const IfcParse::entity& Ifc4x3_add2::IfcWellKnownText::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1292]); } const IfcParse::entity& Ifc4x3_add2::IfcWellKnownText::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1292]); } Ifc4x3_add2::IfcWellKnownText::IfcWellKnownText(IfcEntityInstanceData&& e) : IfcUtil::IfcBaseEntity(std::move(e)) { } -Ifc4x3_add2::IfcWellKnownText::IfcWellKnownText(std::string v1_WellKnownText, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_CoordinateReferenceSystem) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_WellKnownText));set_attribute_value(1, v2_CoordinateReferenceSystem ? v2_CoordinateReferenceSystem->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcWellKnownText::IfcWellKnownText(std::string v1_WellKnownText, ::Ifc4x3_add2::IfcCoordinateReferenceSystem* v2_CoordinateReferenceSystem) : IfcUtil::IfcBaseEntity(IfcEntityInstanceData(storage_t(2))) { set_attribute_value(0, (v1_WellKnownText));set_attribute_value(1, v2_CoordinateReferenceSystem ? v2_CoordinateReferenceSystem->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcWindow boost::optional< double > Ifc4x3_add2::IfcWindow::OverallHeight() const { if(data_.get_attribute_value(8).isNull()) { return boost::none; } double v = data_.get_attribute_value(8); return v; } @@ -17941,7 +17941,7 @@ void Ifc4x3_add2::IfcWindow::setUserDefinedPartitioningType(boost::optional< std const IfcParse::entity& Ifc4x3_add2::IfcWindow::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1294]); } const IfcParse::entity& Ifc4x3_add2::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1294]); } Ifc4x3_add2::IfcWindow::IfcWindow(IfcEntityInstanceData&& e) : IfcBuiltElement(std::move(e)) { } -Ifc4x3_add2::IfcWindow::IfcWindow(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< double > v9_OverallHeight, boost::optional< double > v10_OverallWidth, boost::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value > v11_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, boost::optional< std::string > v13_UserDefinedPartitioningType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OverallHeight) {set_attribute_value(8, (*v9_OverallHeight)); } if (v10_OverallWidth) {set_attribute_value(9, (*v10_OverallWidth)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +Ifc4x3_add2::IfcWindow::IfcWindow(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement* v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation* v7_Representation, boost::optional< std::string > v8_Tag, boost::optional< double > v9_OverallHeight, boost::optional< double > v10_OverallWidth, boost::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value > v11_PredefinedType, boost::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, boost::optional< std::string > v13_UserDefinedPartitioningType) : IfcBuiltElement(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, v6_ObjectPlacement ? v6_ObjectPlacement->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(6, v7_Representation ? v7_Representation->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OverallHeight) {set_attribute_value(8, (*v9_OverallHeight)); } if (v10_OverallWidth) {set_attribute_value(9, (*v10_OverallWidth)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); }; populate_derived(); } // Function implementations for IfcWindowLiningProperties boost::optional< double > Ifc4x3_add2::IfcWindowLiningProperties::LiningDepth() const { if(data_.get_attribute_value(4).isNull()) { return boost::none; } double v = data_.get_attribute_value(4); return v; } @@ -17973,7 +17973,7 @@ void Ifc4x3_add2::IfcWindowLiningProperties::setLiningToPanelOffsetY(boost::opti const IfcParse::entity& Ifc4x3_add2::IfcWindowLiningProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1295]); } const IfcParse::entity& Ifc4x3_add2::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1295]); } Ifc4x3_add2::IfcWindowLiningProperties::IfcWindowLiningProperties(IfcEntityInstanceData&& e) : IfcPreDefinedPropertySet(std::move(e)) { } -Ifc4x3_add2::IfcWindowLiningProperties::IfcWindowLiningProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< double > v5_LiningDepth, boost::optional< double > v6_LiningThickness, boost::optional< double > v7_TransomThickness, boost::optional< double > v8_MullionThickness, boost::optional< double > v9_FirstTransomOffset, boost::optional< double > v10_SecondTransomOffset, boost::optional< double > v11_FirstMullionOffset, boost::optional< double > v12_SecondMullionOffset, ::Ifc4x3_add2::IfcShapeAspect* v13_ShapeAspectStyle, boost::optional< double > v14_LiningOffset, boost::optional< double > v15_LiningToPanelOffsetX, boost::optional< double > v16_LiningToPanelOffsetY) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(16))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_LiningDepth) {set_attribute_value(4, (*v5_LiningDepth)); } if (v6_LiningThickness) {set_attribute_value(5, (*v6_LiningThickness)); } if (v7_TransomThickness) {set_attribute_value(6, (*v7_TransomThickness)); } if (v8_MullionThickness) {set_attribute_value(7, (*v8_MullionThickness)); } if (v9_FirstTransomOffset) {set_attribute_value(8, (*v9_FirstTransomOffset)); } if (v10_SecondTransomOffset) {set_attribute_value(9, (*v10_SecondTransomOffset)); } if (v11_FirstMullionOffset) {set_attribute_value(10, (*v11_FirstMullionOffset)); } if (v12_SecondMullionOffset) {set_attribute_value(11, (*v12_SecondMullionOffset)); }set_attribute_value(12, v13_ShapeAspectStyle ? v13_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v14_LiningOffset) {set_attribute_value(13, (*v14_LiningOffset)); } if (v15_LiningToPanelOffsetX) {set_attribute_value(14, (*v15_LiningToPanelOffsetX)); } if (v16_LiningToPanelOffsetY) {set_attribute_value(15, (*v16_LiningToPanelOffsetY)); } } +Ifc4x3_add2::IfcWindowLiningProperties::IfcWindowLiningProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< double > v5_LiningDepth, boost::optional< double > v6_LiningThickness, boost::optional< double > v7_TransomThickness, boost::optional< double > v8_MullionThickness, boost::optional< double > v9_FirstTransomOffset, boost::optional< double > v10_SecondTransomOffset, boost::optional< double > v11_FirstMullionOffset, boost::optional< double > v12_SecondMullionOffset, ::Ifc4x3_add2::IfcShapeAspect* v13_ShapeAspectStyle, boost::optional< double > v14_LiningOffset, boost::optional< double > v15_LiningToPanelOffsetX, boost::optional< double > v16_LiningToPanelOffsetY) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(16))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_LiningDepth) {set_attribute_value(4, (*v5_LiningDepth)); } if (v6_LiningThickness) {set_attribute_value(5, (*v6_LiningThickness)); } if (v7_TransomThickness) {set_attribute_value(6, (*v7_TransomThickness)); } if (v8_MullionThickness) {set_attribute_value(7, (*v8_MullionThickness)); } if (v9_FirstTransomOffset) {set_attribute_value(8, (*v9_FirstTransomOffset)); } if (v10_SecondTransomOffset) {set_attribute_value(9, (*v10_SecondTransomOffset)); } if (v11_FirstMullionOffset) {set_attribute_value(10, (*v11_FirstMullionOffset)); } if (v12_SecondMullionOffset) {set_attribute_value(11, (*v12_SecondMullionOffset)); }set_attribute_value(12, v13_ShapeAspectStyle ? v13_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v14_LiningOffset) {set_attribute_value(13, (*v14_LiningOffset)); } if (v15_LiningToPanelOffsetX) {set_attribute_value(14, (*v15_LiningToPanelOffsetX)); } if (v16_LiningToPanelOffsetY) {set_attribute_value(15, (*v16_LiningToPanelOffsetY)); }; populate_derived(); } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value Ifc4x3_add2::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_add2::IfcWindowPanelOperationEnum::FromString(data_.get_attribute_value(4)); } @@ -17991,7 +17991,7 @@ void Ifc4x3_add2::IfcWindowPanelProperties::setShapeAspectStyle(::Ifc4x3_add2::I const IfcParse::entity& Ifc4x3_add2::IfcWindowPanelProperties::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1298]); } const IfcParse::entity& Ifc4x3_add2::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1298]); } Ifc4x3_add2::IfcWindowPanelProperties::IfcWindowPanelProperties(IfcEntityInstanceData&& e) : IfcPreDefinedPropertySet(std::move(e)) { } -Ifc4x3_add2::IfcWindowPanelProperties::IfcWindowPanelProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, boost::optional< double > v7_FrameDepth, boost::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect* v9_ShapeAspectStyle) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(),(size_t)v6_PanelPosition))); if (v7_FrameDepth) {set_attribute_value(6, (*v7_FrameDepth)); } if (v8_FrameThickness) {set_attribute_value(7, (*v8_FrameThickness)); }set_attribute_value(8, v9_ShapeAspectStyle ? v9_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr); } +Ifc4x3_add2::IfcWindowPanelProperties::IfcWindowPanelProperties(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, boost::optional< double > v7_FrameDepth, boost::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect* v9_ShapeAspectStyle) : IfcPreDefinedPropertySet(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(),(size_t)v6_PanelPosition))); if (v7_FrameDepth) {set_attribute_value(6, (*v7_FrameDepth)); } if (v8_FrameThickness) {set_attribute_value(7, (*v8_FrameThickness)); }set_attribute_value(8, v9_ShapeAspectStyle ? v9_ShapeAspectStyle->as() : (IfcUtil::IfcBaseClass*) nullptr);; populate_derived(); } // Function implementations for IfcWindowType ::Ifc4x3_add2::IfcWindowTypeEnum::Value Ifc4x3_add2::IfcWindowType::PredefinedType() const { return ::Ifc4x3_add2::IfcWindowTypeEnum::FromString(data_.get_attribute_value(9)); } @@ -18007,7 +18007,7 @@ void Ifc4x3_add2::IfcWindowType::setUserDefinedPartitioningType(boost::optional< const IfcParse::entity& Ifc4x3_add2::IfcWindowType::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1299]); } const IfcParse::entity& Ifc4x3_add2::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1299]); } Ifc4x3_add2::IfcWindowType::IfcWindowType(IfcEntityInstanceData&& e) : IfcBuiltElementType(std::move(e)) { } -Ifc4x3_add2::IfcWindowType::IfcWindowType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, boost::optional< bool > v12_ParameterTakesPrecedence, boost::optional< std::string > v13_UserDefinedPartitioningType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +Ifc4x3_add2::IfcWindowType::IfcWindowType(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ApplicableOccurrence, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPropertySetDefinition >::ptr > v6_HasPropertySets, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcRepresentationMap >::ptr > v7_RepresentationMaps, boost::optional< std::string > v8_Tag, boost::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, boost::optional< bool > v12_ParameterTakesPrecedence, boost::optional< std::string > v13_UserDefinedPartitioningType) : IfcBuiltElementType(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, (*v6_HasPropertySets)->generalize()); } if (v7_RepresentationMaps) {set_attribute_value(6, (*v7_RepresentationMaps)->generalize()); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); }; populate_derived(); } // Function implementations for IfcWorkCalendar boost::optional< aggregate_of< ::Ifc4x3_add2::IfcWorkTime >::ptr > Ifc4x3_add2::IfcWorkCalendar::WorkingTimes() const { if(data_.get_attribute_value(6).isNull()) { return boost::none; } aggregate_of_instance::ptr es = data_.get_attribute_value(6); return es->as< ::Ifc4x3_add2::IfcWorkTime >(); } @@ -18021,7 +18021,7 @@ void Ifc4x3_add2::IfcWorkCalendar::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcWorkCalendar::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1302]); } const IfcParse::entity& Ifc4x3_add2::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1302]); } Ifc4x3_add2::IfcWorkCalendar::IfcWorkCalendar(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcWorkCalendar::IfcWorkCalendar(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcWorkTime >::ptr > v7_WorkingTimes, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcWorkTime >::ptr > v8_ExceptionTimes, boost::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_WorkingTimes) {set_attribute_value(6, (*v7_WorkingTimes)->generalize()); } if (v8_ExceptionTimes) {set_attribute_value(7, (*v8_ExceptionTimes)->generalize()); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +Ifc4x3_add2::IfcWorkCalendar::IfcWorkCalendar(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcWorkTime >::ptr > v7_WorkingTimes, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcWorkTime >::ptr > v8_ExceptionTimes, boost::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) : IfcControl(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_WorkingTimes) {set_attribute_value(6, (*v7_WorkingTimes)->generalize()); } if (v8_ExceptionTimes) {set_attribute_value(7, (*v8_ExceptionTimes)->generalize()); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; populate_derived(); } // Function implementations for IfcWorkControl std::string Ifc4x3_add2::IfcWorkControl::CreationDate() const { std::string v = data_.get_attribute_value(6); return v; } @@ -18043,7 +18043,7 @@ void Ifc4x3_add2::IfcWorkControl::setFinishTime(boost::optional< std::string > v const IfcParse::entity& Ifc4x3_add2::IfcWorkControl::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1304]); } const IfcParse::entity& Ifc4x3_add2::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1304]); } Ifc4x3_add2::IfcWorkControl::IfcWorkControl(IfcEntityInstanceData&& e) : IfcControl(std::move(e)) { } -Ifc4x3_add2::IfcWorkControl::IfcWorkControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_CreationDate, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_Creators, boost::optional< std::string > v9_Purpose, boost::optional< std::string > v10_Duration, boost::optional< std::string > v11_TotalFloat, std::string v12_StartTime, boost::optional< std::string > v13_FinishTime) : IfcControl(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, (*v8_Creators)->generalize()); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); } } +Ifc4x3_add2::IfcWorkControl::IfcWorkControl(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_CreationDate, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_Creators, boost::optional< std::string > v9_Purpose, boost::optional< std::string > v10_Duration, boost::optional< std::string > v11_TotalFloat, std::string v12_StartTime, boost::optional< std::string > v13_FinishTime) : IfcControl(IfcEntityInstanceData(storage_t(13))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, (*v8_Creators)->generalize()); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); }; populate_derived(); } // Function implementations for IfcWorkPlan boost::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > Ifc4x3_add2::IfcWorkPlan::PredefinedType() const { if(data_.get_attribute_value(13).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcWorkPlanTypeEnum::FromString(data_.get_attribute_value(13)); } @@ -18053,7 +18053,7 @@ void Ifc4x3_add2::IfcWorkPlan::setPredefinedType(boost::optional< ::Ifc4x3_add2: const IfcParse::entity& Ifc4x3_add2::IfcWorkPlan::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1305]); } const IfcParse::entity& Ifc4x3_add2::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1305]); } Ifc4x3_add2::IfcWorkPlan::IfcWorkPlan(IfcEntityInstanceData&& e) : IfcWorkControl(std::move(e)) { } -Ifc4x3_add2::IfcWorkPlan::IfcWorkPlan(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_CreationDate, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_Creators, boost::optional< std::string > v9_Purpose, boost::optional< std::string > v10_Duration, boost::optional< std::string > v11_TotalFloat, std::string v12_StartTime, boost::optional< std::string > v13_FinishTime, boost::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) : IfcWorkControl(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, (*v8_Creators)->generalize()); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); } if (v14_PredefinedType) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +Ifc4x3_add2::IfcWorkPlan::IfcWorkPlan(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_CreationDate, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_Creators, boost::optional< std::string > v9_Purpose, boost::optional< std::string > v10_Duration, boost::optional< std::string > v11_TotalFloat, std::string v12_StartTime, boost::optional< std::string > v13_FinishTime, boost::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) : IfcWorkControl(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, (*v8_Creators)->generalize()); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); } if (v14_PredefinedType) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); }; populate_derived(); } // Function implementations for IfcWorkSchedule boost::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > Ifc4x3_add2::IfcWorkSchedule::PredefinedType() const { if(data_.get_attribute_value(13).isNull()) { return boost::none; } return ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::FromString(data_.get_attribute_value(13)); } @@ -18063,7 +18063,7 @@ void Ifc4x3_add2::IfcWorkSchedule::setPredefinedType(boost::optional< ::Ifc4x3_a const IfcParse::entity& Ifc4x3_add2::IfcWorkSchedule::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1307]); } const IfcParse::entity& Ifc4x3_add2::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1307]); } Ifc4x3_add2::IfcWorkSchedule::IfcWorkSchedule(IfcEntityInstanceData&& e) : IfcWorkControl(std::move(e)) { } -Ifc4x3_add2::IfcWorkSchedule::IfcWorkSchedule(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_CreationDate, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_Creators, boost::optional< std::string > v9_Purpose, boost::optional< std::string > v10_Duration, boost::optional< std::string > v11_TotalFloat, std::string v12_StartTime, boost::optional< std::string > v13_FinishTime, boost::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) : IfcWorkControl(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, (*v8_Creators)->generalize()); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); } if (v14_PredefinedType) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +Ifc4x3_add2::IfcWorkSchedule::IfcWorkSchedule(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_Identification, std::string v7_CreationDate, boost::optional< aggregate_of< ::Ifc4x3_add2::IfcPerson >::ptr > v8_Creators, boost::optional< std::string > v9_Purpose, boost::optional< std::string > v10_Duration, boost::optional< std::string > v11_TotalFloat, std::string v12_StartTime, boost::optional< std::string > v13_FinishTime, boost::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) : IfcWorkControl(IfcEntityInstanceData(storage_t(14))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, (*v8_Creators)->generalize()); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); } if (v14_PredefinedType) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); }; populate_derived(); } // Function implementations for IfcWorkTime ::Ifc4x3_add2::IfcRecurrencePattern* Ifc4x3_add2::IfcWorkTime::RecurrencePattern() const { if(data_.get_attribute_value(3).isNull()) { return nullptr; } return ((IfcUtil::IfcBaseClass*)(data_.get_attribute_value(3)))->as<::Ifc4x3_add2::IfcRecurrencePattern>(true); } @@ -18077,7 +18077,7 @@ void Ifc4x3_add2::IfcWorkTime::setFinishDate(boost::optional< std::string > v) { const IfcParse::entity& Ifc4x3_add2::IfcWorkTime::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1309]); } const IfcParse::entity& Ifc4x3_add2::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1309]); } Ifc4x3_add2::IfcWorkTime::IfcWorkTime(IfcEntityInstanceData&& e) : IfcSchedulingTime(std::move(e)) { } -Ifc4x3_add2::IfcWorkTime::IfcWorkTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcRecurrencePattern* v4_RecurrencePattern, boost::optional< std::string > v5_StartDate, boost::optional< std::string > v6_FinishDate) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(6))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, v4_RecurrencePattern ? v4_RecurrencePattern->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } +Ifc4x3_add2::IfcWorkTime::IfcWorkTime(boost::optional< std::string > v1_Name, boost::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, boost::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcRecurrencePattern* v4_RecurrencePattern, boost::optional< std::string > v5_StartDate, boost::optional< std::string > v6_FinishDate) : IfcSchedulingTime(IfcEntityInstanceData(storage_t(6))) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, v4_RecurrencePattern ? v4_RecurrencePattern->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); }; populate_derived(); } // Function implementations for IfcZShapeProfileDef double Ifc4x3_add2::IfcZShapeProfileDef::Depth() const { double v = data_.get_attribute_value(3); return v; } @@ -18097,7 +18097,7 @@ void Ifc4x3_add2::IfcZShapeProfileDef::setEdgeRadius(boost::optional< double > v const IfcParse::entity& Ifc4x3_add2::IfcZShapeProfileDef::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1311]); } const IfcParse::entity& Ifc4x3_add2::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1311]); } Ifc4x3_add2::IfcZShapeProfileDef::IfcZShapeProfileDef(IfcEntityInstanceData&& e) : IfcParameterizedProfileDef(std::move(e)) { } -Ifc4x3_add2::IfcZShapeProfileDef::IfcZShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_EdgeRadius) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_EdgeRadius) {set_attribute_value(8, (*v9_EdgeRadius)); } } +Ifc4x3_add2::IfcZShapeProfileDef::IfcZShapeProfileDef(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, boost::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D* v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, boost::optional< double > v8_FilletRadius, boost::optional< double > v9_EdgeRadius) : IfcParameterizedProfileDef(IfcEntityInstanceData(storage_t(9))) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, v3_Position ? v3_Position->as() : (IfcUtil::IfcBaseClass*) nullptr);set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_EdgeRadius) {set_attribute_value(8, (*v9_EdgeRadius)); }; populate_derived(); } // Function implementations for IfcZone boost::optional< std::string > Ifc4x3_add2::IfcZone::LongName() const { if(data_.get_attribute_value(5).isNull()) { return boost::none; } std::string v = data_.get_attribute_value(5); return v; } @@ -18107,5 +18107,5 @@ void Ifc4x3_add2::IfcZone::setLongName(boost::optional< std::string > v) { if (v const IfcParse::entity& Ifc4x3_add2::IfcZone::declaration() const { return *((IfcParse::entity*)IFC4X3_ADD2_types[1310]); } const IfcParse::entity& Ifc4x3_add2::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1310]); } Ifc4x3_add2::IfcZone::IfcZone(IfcEntityInstanceData&& e) : IfcSystem(std::move(e)) { } -Ifc4x3_add2::IfcZone::IfcZone(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName) : IfcSystem(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } } +Ifc4x3_add2::IfcZone::IfcZone(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory* v2_OwnerHistory, boost::optional< std::string > v3_Name, boost::optional< std::string > v4_Description, boost::optional< std::string > v5_ObjectType, boost::optional< std::string > v6_LongName) : IfcSystem(IfcEntityInstanceData(storage_t(6))) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, v2_OwnerHistory ? v2_OwnerHistory->as() : (IfcUtil::IfcBaseClass*) nullptr); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); }; populate_derived(); } diff --git a/src/ifcparse/IfcBaseClass.h b/src/ifcparse/IfcBaseClass.h index 108009035d..d0560b0df7 100644 --- a/src/ifcparse/IfcBaseClass.h +++ b/src/ifcparse/IfcBaseClass.h @@ -122,6 +122,8 @@ public: uint32_t id() const { return id_; } void toString(std::ostream&, bool upper = false) const; + + typedef aggregate_of_instance list; }; class IFC_PARSE_API IfcBaseEntity : public IfcBaseClass {